Package org.apache.axis2.builder
Class MultipartFormDataBuilder
java.lang.Object
org.apache.axis2.builder.MultipartFormDataBuilder
- All Implemented Interfaces:
Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axiom.om.OMElementprocessDocument(InputStream inputStream, String contentType, MessageContext messageContext) Process a message.
-
Constructor Details
-
MultipartFormDataBuilder
public MultipartFormDataBuilder()
-
-
Method Details
-
processDocument
public org.apache.axiom.om.OMElement processDocument(InputStream inputStream, String contentType, MessageContext messageContext) throws AxisFault Description copied from interface:BuilderProcess a message.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.
- Specified by:
processDocumentin interfaceBuilder- Parameters:
inputStream- the byte stream with the raw payload- Returns:
- Returns the document element.
- Throws:
AxisFault
-