|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.xs.rest.RestValueFactory
public final class RestValueFactory
This RestValueFactory class is used to create object that implements RestValue interface.
RestValue
Method Summary | |
---|---|
RestValue |
createRestValue(String contentType,
byte[] valueBytes)
Create an object instance that implements the RestValue interface. |
static RestValueFactory |
instance()
Return the singleton instance of RestValueFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public RestValue createRestValue(String contentType, byte[] valueBytes)
contentType
- an content type string used in HTML headers. See RestValue interface for the
list of supported content type.valueBytes
- array of byte for the data to be wrapped by the RestValue object
RestValue
public static RestValueFactory instance()
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |