Package com.sun.xml.messaging.saaj.soap
Class MessageFactoryImpl
- java.lang.Object
-
- javax.xml.soap.MessageFactory
-
- com.sun.xml.messaging.saaj.soap.MessageFactoryImpl
-
- Direct Known Subclasses:
SOAPMessageFactory1_1Impl,SOAPMessageFactory1_2Impl,SOAPMessageFactoryDynamicImpl
public class MessageFactoryImpl extends javax.xml.soap.MessageFactoryA 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 Modifier and Type Field Description protected booleanlazyAttachmentsprotected OutputStreamlistenerprotected static Loggerlog
-
Constructor Summary
Constructors Constructor Description MessageFactoryImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.soap.SOAPMessagecreateMessage()javax.xml.soap.SOAPMessagecreateMessage(boolean isFastInfoset, boolean acceptFastInfoset)javax.xml.soap.SOAPMessagecreateMessage(String protocol)javax.xml.soap.SOAPMessagecreateMessage(javax.xml.soap.MimeHeaders headers, InputStream in)javax.xml.soap.SOAPMessagecreateMessage(javax.xml.soap.MimeHeaders headers, XMLStreamReader reader)protected static StringgetContentType(javax.xml.soap.MimeHeaders headers)OutputStreamlisten(OutputStream newListener)voidsetLazyAttachmentOptimization(boolean flag)
-
-
-
Field Detail
-
log
protected static final Logger log
-
listener
protected OutputStream listener
-
lazyAttachments
protected boolean lazyAttachments
-
-
Method Detail
-
listen
public OutputStream listen(OutputStream newListener)
-
createMessage
public javax.xml.soap.SOAPMessage createMessage() throws javax.xml.soap.SOAPException- Specified by:
createMessagein classjavax.xml.soap.MessageFactory- Throws:
javax.xml.soap.SOAPException
-
createMessage
public javax.xml.soap.SOAPMessage createMessage(String protocol) throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
-
createMessage
public javax.xml.soap.SOAPMessage createMessage(boolean isFastInfoset, boolean acceptFastInfoset) throws javax.xml.soap.SOAPException- Throws:
javax.xml.soap.SOAPException
-
createMessage
public javax.xml.soap.SOAPMessage createMessage(javax.xml.soap.MimeHeaders headers, XMLStreamReader reader) throws javax.xml.soap.SOAPException, IOException- Throws:
javax.xml.soap.SOAPExceptionIOException
-
createMessage
public javax.xml.soap.SOAPMessage createMessage(javax.xml.soap.MimeHeaders headers, InputStream in) throws javax.xml.soap.SOAPException, IOException- Specified by:
createMessagein classjavax.xml.soap.MessageFactory- Throws:
javax.xml.soap.SOAPExceptionIOException
-
getContentType
protected static final String getContentType(javax.xml.soap.MimeHeaders headers)
-
setLazyAttachmentOptimization
public void setLazyAttachmentOptimization(boolean flag)
-
-