|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.3) E15033-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.wli.sb.transports.ResponseMetaData<T>
public abstract class ResponseMetaData<T extends ResponseHeaders>
Represents inbound or outbound response message meta-data information (e.g. headers, request character set encoding, etc.) Transport Providers will provide an extension of this class that adds meta-data information applicable to the transport provider. For example, HTTP transport provider will add get/setHttpResponseCode() and other methods.
Method Summary | |
---|---|
java.lang.Boolean |
getCacheOriginated() |
java.lang.String |
getCacheToken() |
java.lang.String |
getCharacterEncoding() |
T |
getHeaders() |
int |
getResponseCode() |
java.lang.String |
getResponseMessage() |
boolean |
isSetResponseMessage() |
void |
setCacheOriginated(java.lang.Boolean cacheOriginated) sets whether this response originated from the cache or not (only set if caching enabled) |
void |
setCacheToken(java.lang.String cacheToken) sets the cache token used for this response |
void |
setCharacterEncoding(java.lang.String encoding) sets character encoding to use for message payload |
void |
setHeaders(T headers) sets provider-specific response headers POJO that represents transport-level headers for the message |
void |
setResponseCode(int code) Sets response code to indicate success/failure. |
void |
setResponseMessage(java.lang.String message) sets provider-specific response message |
abstract ResponseMetaDataXML |
toXML() |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getCharacterEncoding()
public void setCharacterEncoding(java.lang.String encoding)
public int getResponseCode()
TransportManager
for response code constantspublic void setResponseCode(int code)
TransportManager
for response code constantspublic java.lang.String getResponseMessage()
public void setResponseMessage(java.lang.String message)
public boolean isSetResponseMessage()
public T getHeaders()
public void setHeaders(T headers)
public java.lang.String getCacheToken()
public void setCacheToken(java.lang.String cacheToken)
cacheToken
-public java.lang.Boolean getCacheOriginated()
public void setCacheOriginated(java.lang.Boolean cacheOriginated)
cacheOriginated
-public abstract ResponseMetaDataXML toXML() throws TransportException
TransportException
|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.3) E15033-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |