com.sun.xml.ws.transport.tcp.encoding
Class WSTCPFastInfosetStreamCodec
java.lang.Object
com.sun.xml.ws.transport.tcp.encoding.WSTCPFastInfosetStreamCodec
- All Implemented Interfaces:
- com.sun.xml.ws.api.pipe.Codec
- Direct Known Subclasses:
- WSTCPFastInfosetStreamSOAP11Codec, WSTCPFastInfosetStreamSOAP12Codec
public abstract class WSTCPFastInfosetStreamCodec
- extends java.lang.Object
- implements com.sun.xml.ws.api.pipe.Codec
Method Summary |
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(javax.xml.stream.XMLStreamReader reader,
com.sun.xml.stream.buffer.XMLStreamBuffer mark)
|
void |
decode(java.io.InputStream in,
java.lang.String contentType,
com.sun.xml.ws.api.message.Packet response)
|
void |
decode(java.nio.channels.ReadableByteChannel in,
java.lang.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,
java.io.OutputStream out)
|
com.sun.xml.ws.api.pipe.ContentType |
encode(com.sun.xml.ws.api.message.Packet packet,
java.nio.channels.WritableByteChannel buffer)
|
protected abstract com.sun.xml.ws.api.pipe.ContentType |
getContentType(java.lang.String soapAction)
|
java.lang.String |
getMimeType()
|
com.sun.xml.ws.api.pipe.ContentType |
getStaticContentType(com.sun.xml.ws.api.message.Packet packet)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.xml.ws.api.pipe.Codec |
copy |
_defaultContentType
protected final com.sun.xml.ws.api.pipe.ContentType _defaultContentType
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeType
in interface com.sun.xml.ws.api.pipe.Codec
getStaticContentType
public com.sun.xml.ws.api.pipe.ContentType getStaticContentType(com.sun.xml.ws.api.message.Packet packet)
- Specified by:
getStaticContentType
in interface com.sun.xml.ws.api.pipe.Codec
encode
public com.sun.xml.ws.api.pipe.ContentType encode(com.sun.xml.ws.api.message.Packet packet,
java.io.OutputStream out)
- Specified by:
encode
in interface com.sun.xml.ws.api.pipe.Codec
encode
public com.sun.xml.ws.api.pipe.ContentType encode(com.sun.xml.ws.api.message.Packet packet,
java.nio.channels.WritableByteChannel buffer)
- Specified by:
encode
in interface com.sun.xml.ws.api.pipe.Codec
decode
public void decode(java.io.InputStream in,
java.lang.String contentType,
com.sun.xml.ws.api.message.Packet response)
throws java.io.IOException
- Specified by:
decode
in interface com.sun.xml.ws.api.pipe.Codec
- Throws:
java.io.IOException
decode
public void decode(java.nio.channels.ReadableByteChannel in,
java.lang.String contentType,
com.sun.xml.ws.api.message.Packet response)
- Specified by:
decode
in interface com.sun.xml.ws.api.pipe.Codec
createHeader
protected abstract com.sun.xml.ws.message.stream.StreamHeader createHeader(javax.xml.stream.XMLStreamReader reader,
com.sun.xml.stream.buffer.XMLStreamBuffer mark)
getContentType
protected abstract com.sun.xml.ws.api.pipe.ContentType getContentType(java.lang.String soapAction)
create
public 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.
- Parameters:
version
- the SOAP version of the codec.
- Returns:
- a new
WSTCPFastInfosetStreamCodec
instance.