|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.EnumeratedType
wt.content.HttpOperationStatus
Used to indicate status of an upload or a download. The statuses are
self-explanatory.
The initial status of HttpOperationItems and HttpContentOperation objects
is READY. Clients should be prepared to deal with statuses returned
as COMPLETE, FAILED, UNKNOWN, IGNORE, CANCEL.
Supported API: true
Extendable: false
HttpContentOperation
,
HttpOperationItem
,
Serialized FormNested Class Summary |
Nested classes inherited from class wt.fc.EnumeratedType |
|
Field Summary | |
static HttpOperationStatus |
CANCEL
Supported API: false |
private static String |
CLASS_RESOURCE
|
private static String |
CLASSNAME
|
static HttpOperationStatus |
COMPLETE
Supported API: false |
static HttpOperationStatus |
FAILED
Supported API: false |
static HttpOperationStatus |
IGNORE
Supported API: false |
private static Hashtable |
localeSets
|
static HttpOperationStatus |
READY
Supported API: false |
private static String |
RESOURCE
|
static HttpOperationStatus |
RUNNING
Supported API: false |
static HttpOperationStatus |
UNKNOWN
Supported API: false |
private static EnumeratedType[] |
valueSet
|
static HttpOperationStatus |
WAITING_FOR_INPUT
Supported API: false |
Fields inherited from class wt.fc.EnumeratedType |
secretHandshake, SEP_CHAR |
Fields inherited from interface wt.meta.EnumeratedType |
DEFAULT_VALUE, ORDER, SELECTABLE |
Constructor Summary | |
protected |
HttpOperationStatus()
Used by sub-classes that need a default constructor. |
Method Summary | |
static HttpOperationStatus |
getHttpOperationStatusDefault()
Returns the default value (instance) for the HttpOperationStatus set. |
static HttpOperationStatus[] |
getHttpOperationStatusSet()
Returns a copy of the set of valid values (instances) for the HttpOperationStatus class. |
protected EnumeratedType[] |
getLocaleSet(Locale locale)
Returns the set of values (instances) for this instance, for the specified locale. |
EnumeratedType[] |
getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale. |
private static EnumeratedType[] |
initializeLocaleSet(Locale locale)
|
static HttpOperationStatus |
newHttpOperationStatus(int secretHandshake)
Used by EnumeratedType for constructing instances of HttpOperationStatus, from a resource bundle. |
static HttpOperationStatus |
toHttpOperationStatus(String internal_value)
Returns the HttpOperationStatus instance for the internal_value argument. |
protected EnumeratedType[] |
valueSet()
Returns a reference to the set of valid values (instances) for this instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String CLASS_RESOURCE
private static final EnumeratedType[] valueSet
private static Hashtable localeSets
public static final HttpOperationStatus READY
public static final HttpOperationStatus WAITING_FOR_INPUT
public static final HttpOperationStatus RUNNING
public static final HttpOperationStatus COMPLETE
public static final HttpOperationStatus FAILED
public static final HttpOperationStatus UNKNOWN
public static final HttpOperationStatus IGNORE
public static final HttpOperationStatus CANCEL
Constructor Detail |
protected HttpOperationStatus()
Method Detail |
public static HttpOperationStatus newHttpOperationStatus(int secretHandshake) throws IllegalAccessException
secretHandshake
-
IllegalAccessException
public static HttpOperationStatus toHttpOperationStatus(String internal_value) throws WTInvalidParameterException
internal_value
- The internal (persistent) value for a valid instance of HttpOperationStatus.
WTInvalidParameterException
public static HttpOperationStatus getHttpOperationStatusDefault()
public static HttpOperationStatus[] getHttpOperationStatusSet()
public EnumeratedType[] getValueSet()
getValueSet
in class EnumeratedType
protected EnumeratedType[] valueSet()
valueSet
in class EnumeratedType
protected EnumeratedType[] getLocaleSet(Locale locale)
getLocaleSet
in class EnumeratedType
locale
-
private static EnumeratedType[] initializeLocaleSet(Locale locale) throws Throwable
locale
-
Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |