Class XOPReconstitutor
java.lang.Object
com.predic8.membrane.core.multipart.XOPReconstitutor
Reassemble a multipart XOP message (see
XML-binary_Optimized_Packaging and
xop10 ) into one stream (that can be used for schema
validation, for example).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReconstitutedMessage(Message message) reconstituteIfNecessary(Message message)
-
Constructor Details
-
XOPReconstitutor
public XOPReconstitutor()
-
-
Method Details
-
reconstituteIfNecessary
- Throws:
IOException
-
getReconstitutedMessage
public Message getReconstitutedMessage(Message message) throws jakarta.mail.internet.ParseException, IOException, EndOfStreamException, XMLStreamException, FactoryConfigurationError - Returns:
- reassembled SOAP message or null if message is not SOAP or not multipart
- Throws:
jakarta.mail.internet.ParseExceptionIOExceptionEndOfStreamExceptionXMLStreamExceptionFactoryConfigurationError
-