|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InboundTransportMessageContext
Inbound Transport Message Context implements the message context abstraction for incoming messages
| Method Summary | |
|---|---|
void |
close(TransportOptions options)
Commits the contents of this context and clean up any resources used by this context. |
ResponseMetaData |
createResponseMetaData()
Creates a new (empty) response meta data POJO |
ResponseMetaData |
createResponseMetaData(org.apache.xmlbeans.XmlObject rmdXML)
Creates a new response meta data POJO |
TransportEndPoint |
getEndPoint()
|
RequestMetaData |
getRequestMetaData()
|
Source |
getRequestPayload()
|
void |
setResponseMetaData(ResponseMetaData rmd)
Sets the meta-data for the response part of the message, e.g. |
void |
setResponsePayload(Source src)
Sets the response payload into the message context Important note: the transport provider is free to access the response payload source from the moment this method call is made up all the way until close(TransportOptions) is called. |
| Methods inherited from interface com.bea.wli.sb.transports.TransportMessageContext |
|---|
getMessageId, getURI |
| Method Detail |
|---|
TransportEndPoint getEndPoint()
throws TransportException
TransportException
RequestMetaData getRequestMetaData()
throws TransportException
TransportException
Source getRequestPayload()
throws TransportException
TransportException
ResponseMetaData createResponseMetaData()
throws TransportException
TransportException
ResponseMetaData createResponseMetaData(org.apache.xmlbeans.XmlObject rmdXML)
throws TransportException
rmdXML - transport provider-specific XML Bean that represents the
provider-specific meta data
TransportException
void setResponseMetaData(ResponseMetaData rmd)
throws TransportException
rmd - Transport Provider-specific POJO that represents response meta data
TransportException
void setResponsePayload(Source src)
throws TransportException
close(TransportOptions) is called. Any access of response payload source
after close() has been called can lead to unpredictable results and is
generally unsafe.
src - source containing the response payload
TransportExceptionvoid close(TransportOptions options)
options - specifies additional run-time parameters with
respect to processing of inbound response. E.g. it can signal
the mode of a given message: one-way versus request/response
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||