|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Builder
Message builder able to convert a byte stream into a SOAP infoset.
Message builders are used by TransportListener
implementations to process the raw payload of the message and turn it into SOAP.
Transports should use
BuilderUtil.getBuilderFromSelector(String, MessageContext)
to select the message builder appropriate for the content type of the message.
Method Summary | |
---|---|
org.apache.axiom.om.OMElement |
processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext)
Process a message. |
Method Detail |
---|
org.apache.axiom.om.OMElement processDocument(InputStream inputStream, String contentType, MessageContext messageContext) throws AxisFault
The raw content of the message is provided as an input stream. It is the responsibility of the caller (typically a transport implementation) to close the stream after the message has been processed (more precisely after the SOAP infoset returned by this method is no longer used). This implies that implementations are not required to consume the input stream during the execution of this method. This enables deferred parsing of the message.
inputStream
- the byte stream with the raw payloadcontentType
- messageContext
-
AxisFault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |