jnlp.sample.servlet
Class JarDiffHandler

java.lang.Object
  extended by jnlp.sample.servlet.JarDiffHandler

public class JarDiffHandler
extends java.lang.Object


Constructor Summary
JarDiffHandler(javax.servlet.ServletContext servletContext, Logger log)
          Initialize JarDiff handler
 
Method Summary
 DownloadResponse getJarDiffEntry(ResourceCatalog catalog, DownloadRequest dreq, JnlpResource res)
          Returns a JarDiff for the given request
static boolean isJavawsVersion(DownloadRequest dreq, java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarDiffHandler

public JarDiffHandler(javax.servlet.ServletContext servletContext,
                      Logger log)
Initialize JarDiff handler

Method Detail

getJarDiffEntry

public DownloadResponse getJarDiffEntry(ResourceCatalog catalog,
                                        DownloadRequest dreq,
                                        JnlpResource res)
Returns a JarDiff for the given request


isJavawsVersion

public static boolean isJavawsVersion(DownloadRequest dreq,
                                      java.lang.String version)


Copyright © 2005-2009 Sun Microsystems. All Rights Reserved.