Package com.sun.xml.messaging.saaj.soap
Class MessageFactoryImpl
java.lang.Object
jakarta.xml.soap.MessageFactory
com.sun.xml.messaging.saaj.soap.MessageFactoryImpl
- Direct Known Subclasses:
SOAPMessageFactory1_1Impl,SOAPMessageFactory1_2Impl,SOAPMessageFactoryDynamicImpl
A factory for creating SOAP messages.
Converted to a placeholder for common functionality between SOAP
implementations.
- Author:
- Phil Goodwin (phil.goodwin@sun.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMessage(boolean isFastInfoset, boolean acceptFastInfoset) createMessage(MimeHeaders headers, InputStream in) createMessage(MimeHeaders headers, XMLStreamReader reader) createMessage(String protocol) protected static final StringgetContentType(MimeHeaders headers) listen(OutputStream newListener) voidsetLazyAttachmentOptimization(boolean flag) Methods inherited from class jakarta.xml.soap.MessageFactory
newInstance, newInstance
-
Field Details
-
listener
-
lazyAttachments
protected boolean lazyAttachments
-
-
Constructor Details
-
MessageFactoryImpl
public MessageFactoryImpl()
-
-
Method Details
-
listen
-
createMessage
- Specified by:
createMessagein classMessageFactory- Throws:
SOAPException
-
createMessage
- Throws:
SOAPException
-
createMessage
public SOAPMessage createMessage(boolean isFastInfoset, boolean acceptFastInfoset) throws SOAPException - Throws:
SOAPException
-
createMessage
public SOAPMessage createMessage(MimeHeaders headers, XMLStreamReader reader) throws SOAPException, IOException - Throws:
SOAPExceptionIOException
-
createMessage
public SOAPMessage createMessage(MimeHeaders headers, InputStream in) throws SOAPException, IOException - Specified by:
createMessagein classMessageFactory- Throws:
SOAPExceptionIOException
-
getContentType
-
setLazyAttachmentOptimization
public void setLazyAttachmentOptimization(boolean flag)
-