public abstract class WSTCPFastInfosetStreamCodec extends Object implements com.sun.xml.ws.api.pipe.Codec
| Modifier and Type | Field and Description |
|---|---|
protected com.sun.xml.ws.api.pipe.ContentType |
_defaultContentType |
| Modifier and Type | Method and Description |
|---|---|
static WSTCPFastInfosetStreamCodec |
create(com.sun.xml.ws.api.pipe.StreamSOAPCodec soapCodec,
com.sun.xml.ws.api.SOAPVersion version,
WSTCPFastInfosetStreamReaderRecyclable.RecycleAwareListener readerRecycleListener,
boolean retainState)
Creates a new
FastInfosetStreamSOAPCodec instance. |
protected abstract com.sun.xml.ws.message.stream.StreamHeader |
createHeader(XMLStreamReader reader,
com.sun.xml.stream.buffer.XMLStreamBuffer mark) |
void |
decode(InputStream in,
String contentType,
com.sun.xml.ws.api.message.Packet response) |
void |
decode(ReadableByteChannel in,
String contentType,
com.sun.xml.ws.api.message.Packet response) |
com.sun.xml.ws.api.pipe.ContentType |
encode(com.sun.xml.ws.api.message.Packet packet,
OutputStream out) |
com.sun.xml.ws.api.pipe.ContentType |
encode(com.sun.xml.ws.api.message.Packet packet,
WritableByteChannel buffer) |
protected abstract com.sun.xml.ws.api.pipe.ContentType |
getContentType(String soapAction) |
String |
getMimeType() |
com.sun.xml.ws.api.pipe.ContentType |
getStaticContentType(com.sun.xml.ws.api.message.Packet packet) |
protected final com.sun.xml.ws.api.pipe.ContentType _defaultContentType
public String getMimeType()
getMimeType in interface com.sun.xml.ws.api.pipe.Codecpublic com.sun.xml.ws.api.pipe.ContentType getStaticContentType(com.sun.xml.ws.api.message.Packet packet)
getStaticContentType in interface com.sun.xml.ws.api.pipe.Codecpublic com.sun.xml.ws.api.pipe.ContentType encode(com.sun.xml.ws.api.message.Packet packet,
OutputStream out)
encode in interface com.sun.xml.ws.api.pipe.Codecpublic com.sun.xml.ws.api.pipe.ContentType encode(com.sun.xml.ws.api.message.Packet packet,
WritableByteChannel buffer)
encode in interface com.sun.xml.ws.api.pipe.Codecpublic void decode(InputStream in, String contentType, com.sun.xml.ws.api.message.Packet response) throws IOException
decode in interface com.sun.xml.ws.api.pipe.CodecIOExceptionpublic void decode(ReadableByteChannel in, String contentType, com.sun.xml.ws.api.message.Packet response)
decode in interface com.sun.xml.ws.api.pipe.Codecprotected abstract com.sun.xml.ws.message.stream.StreamHeader createHeader(XMLStreamReader reader, com.sun.xml.stream.buffer.XMLStreamBuffer mark)
protected abstract com.sun.xml.ws.api.pipe.ContentType getContentType(String soapAction)
public static WSTCPFastInfosetStreamCodec create(com.sun.xml.ws.api.pipe.StreamSOAPCodec soapCodec, com.sun.xml.ws.api.SOAPVersion version, WSTCPFastInfosetStreamReaderRecyclable.RecycleAwareListener readerRecycleListener, boolean retainState)
FastInfosetStreamSOAPCodec instance.version - the SOAP version of the codec.WSTCPFastInfosetStreamCodec instance.Copyright © 2005–2018 Oracle Corporation. All rights reserved.