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.MessageFactory
A factory for creating SOAP messages.
Converted to a placeholder for common functionality between SOAP
implementations.
Field Summary |
protected boolean |
lazyAttachments
|
protected java.io.OutputStream |
listener
|
protected static java.util.logging.Logger |
log
|
Method Summary |
javax.xml.soap.SOAPMessage |
createMessage()
|
javax.xml.soap.SOAPMessage |
createMessage(boolean isFastInfoset,
boolean acceptFastInfoset)
|
javax.xml.soap.SOAPMessage |
createMessage(javax.xml.soap.MimeHeaders headers,
java.io.InputStream in)
|
protected static java.lang.String |
getContentType(javax.xml.soap.MimeHeaders headers)
|
java.io.OutputStream |
listen(java.io.OutputStream newListener)
|
void |
setLazyAttachmentOptimization(boolean flag)
|
Methods inherited from class javax.xml.soap.MessageFactory |
newInstance, newInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final java.util.logging.Logger log
listener
protected java.io.OutputStream listener
lazyAttachments
protected boolean lazyAttachments
MessageFactoryImpl
public MessageFactoryImpl()
listen
public java.io.OutputStream listen(java.io.OutputStream newListener)
createMessage
public javax.xml.soap.SOAPMessage createMessage()
throws javax.xml.soap.SOAPException
- Specified by:
createMessage
in class javax.xml.soap.MessageFactory
- 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,
java.io.InputStream in)
throws javax.xml.soap.SOAPException,
java.io.IOException
- Specified by:
createMessage
in class javax.xml.soap.MessageFactory
- Throws:
javax.xml.soap.SOAPException
java.io.IOException
getContentType
protected static final java.lang.String getContentType(javax.xml.soap.MimeHeaders headers)
setLazyAttachmentOptimization
public void setLazyAttachmentOptimization(boolean flag)