jnlp.sample.servlet
Class DownloadResponse

java.lang.Object
  extended by jnlp.sample.servlet.DownloadResponse
Direct Known Subclasses:
DownloadResponse.JnlpErrorResponse

public abstract class DownloadResponse
extends java.lang.Object

A class used to encapsulate a file response, and factory methods to create some common types.


Nested Class Summary
static class DownloadResponse.JnlpErrorResponse
           
 
Field Summary
static java.lang.String CONTENT_ENCODING
           
static int ERR_10_NO_RESOURCE
           
static int ERR_11_NO_VERSION
           
static int ERR_20_UNSUP_OS
           
static int ERR_21_UNSUP_ARCH
           
static int ERR_22_UNSUP_LOCALE
           
static int ERR_23_UNSUP_JRE
           
static int ERR_99_UNKNOWN
           
static java.lang.String GZIP_ENCODING
           
static java.lang.String PACK200_GZIP_ENCODING
           
static int STS_00_OK
           
 
Constructor Summary
DownloadResponse()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STS_00_OK

public static final int STS_00_OK
See Also:
Constant Field Values

ERR_10_NO_RESOURCE

public static final int ERR_10_NO_RESOURCE
See Also:
Constant Field Values

ERR_11_NO_VERSION

public static final int ERR_11_NO_VERSION
See Also:
Constant Field Values

ERR_20_UNSUP_OS

public static final int ERR_20_UNSUP_OS
See Also:
Constant Field Values

ERR_21_UNSUP_ARCH

public static final int ERR_21_UNSUP_ARCH
See Also:
Constant Field Values

ERR_22_UNSUP_LOCALE

public static final int ERR_22_UNSUP_LOCALE
See Also:
Constant Field Values

ERR_23_UNSUP_JRE

public static final int ERR_23_UNSUP_JRE
See Also:
Constant Field Values

ERR_99_UNKNOWN

public static final int ERR_99_UNKNOWN
See Also:
Constant Field Values

CONTENT_ENCODING

public static final java.lang.String CONTENT_ENCODING
See Also:
Constant Field Values

GZIP_ENCODING

public static final java.lang.String GZIP_ENCODING
See Also:
Constant Field Values

PACK200_GZIP_ENCODING

public static final java.lang.String PACK200_GZIP_ENCODING
See Also:
Constant Field Values
Constructor Detail

DownloadResponse

public DownloadResponse()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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