public class MessageFactoryImpl extends MessageFactory
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
lazyAttachments |
protected OutputStream |
listener |
protected static Logger |
log |
| Constructor and Description |
|---|
MessageFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
SOAPMessage |
createMessage() |
SOAPMessage |
createMessage(boolean isFastInfoset,
boolean acceptFastInfoset) |
SOAPMessage |
createMessage(MimeHeaders headers,
InputStream in) |
SOAPMessage |
createMessage(MimeHeaders headers,
XMLStreamReader reader) |
SOAPMessage |
createMessage(String protocol) |
protected static String |
getContentType(MimeHeaders headers) |
OutputStream |
listen(OutputStream newListener) |
void |
setLazyAttachmentOptimization(boolean flag) |
newInstance, newInstanceprotected static final Logger log
protected OutputStream listener
protected boolean lazyAttachments
public OutputStream listen(OutputStream newListener)
public SOAPMessage createMessage() throws SOAPException
createMessage in class MessageFactorySOAPExceptionpublic SOAPMessage createMessage(String protocol) throws SOAPException
SOAPExceptionpublic SOAPMessage createMessage(boolean isFastInfoset, boolean acceptFastInfoset) throws SOAPException
SOAPExceptionpublic SOAPMessage createMessage(MimeHeaders headers, XMLStreamReader reader) throws SOAPException, IOException
SOAPExceptionIOExceptionpublic SOAPMessage createMessage(MimeHeaders headers, InputStream in) throws SOAPException, IOException
createMessage in class MessageFactorySOAPExceptionIOExceptionprotected static final String getContentType(MimeHeaders headers)
public void setLazyAttachmentOptimization(boolean flag)
Copyright © 2005–2017 Oracle Corporation. All rights reserved.