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, newInstance
protected static final Logger log
protected OutputStream listener
protected boolean lazyAttachments
public OutputStream listen(OutputStream newListener)
public SOAPMessage createMessage() throws SOAPException
createMessage
in class MessageFactory
SOAPException
public SOAPMessage createMessage(String protocol) throws SOAPException
SOAPException
public SOAPMessage createMessage(boolean isFastInfoset, boolean acceptFastInfoset) throws SOAPException
SOAPException
public SOAPMessage createMessage(MimeHeaders headers, XMLStreamReader reader) throws SOAPException, IOException
SOAPException
IOException
public SOAPMessage createMessage(MimeHeaders headers, InputStream in) throws SOAPException, IOException
createMessage
in class MessageFactory
SOAPException
IOException
protected static final String getContentType(MimeHeaders headers)
public void setLazyAttachmentOptimization(boolean flag)
Copyright © 2017 Oracle. All rights reserved.