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
public class MessageFactoryImpl
extends jakarta.xml.soap.MessageFactory
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
FieldsModifier and TypeFieldDescriptionprotected booleanprotected OutputStreamprotected static final Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.soap.SOAPMessagejakarta.xml.soap.SOAPMessagecreateMessage(boolean isFastInfoset, boolean acceptFastInfoset) jakarta.xml.soap.SOAPMessagecreateMessage(jakarta.xml.soap.MimeHeaders headers, InputStream in) jakarta.xml.soap.SOAPMessagecreateMessage(jakarta.xml.soap.MimeHeaders headers, XMLStreamReader reader) jakarta.xml.soap.SOAPMessagecreateMessage(String protocol) protected static final StringgetContentType(jakarta.xml.soap.MimeHeaders headers) listen(OutputStream newListener) voidsetLazyAttachmentOptimization(boolean flag) Methods inherited from class jakarta.xml.soap.MessageFactory
newInstance, newInstance
-
Field Details
-
log
-
listener
-
lazyAttachments
protected boolean lazyAttachments
-
-
Constructor Details
-
MessageFactoryImpl
public MessageFactoryImpl()
-
-
Method Details
-
listen
-
createMessage
public jakarta.xml.soap.SOAPMessage createMessage() throws jakarta.xml.soap.SOAPException- Specified by:
createMessagein classjakarta.xml.soap.MessageFactory- Throws:
jakarta.xml.soap.SOAPException
-
createMessage
public jakarta.xml.soap.SOAPMessage createMessage(String protocol) throws jakarta.xml.soap.SOAPException - Throws:
jakarta.xml.soap.SOAPException
-
createMessage
public jakarta.xml.soap.SOAPMessage createMessage(boolean isFastInfoset, boolean acceptFastInfoset) throws jakarta.xml.soap.SOAPException - Throws:
jakarta.xml.soap.SOAPException
-
createMessage
public jakarta.xml.soap.SOAPMessage createMessage(jakarta.xml.soap.MimeHeaders headers, XMLStreamReader reader) throws jakarta.xml.soap.SOAPException, IOException - Throws:
jakarta.xml.soap.SOAPExceptionIOException
-
createMessage
public jakarta.xml.soap.SOAPMessage createMessage(jakarta.xml.soap.MimeHeaders headers, InputStream in) throws jakarta.xml.soap.SOAPException, IOException - Specified by:
createMessagein classjakarta.xml.soap.MessageFactory- Throws:
jakarta.xml.soap.SOAPExceptionIOException
-
getContentType
-
setLazyAttachmentOptimization
public void setLazyAttachmentOptimization(boolean flag)
-