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 Object
implements com.sun.xml.ws.api.pipe.Codec
- Author:
- Alexey Stashok
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.sun.xml.ws.api.pipe.ContentType -
Method Summary
Modifier and TypeMethodDescriptionstatic WSTCPFastInfosetStreamCodeccreate(com.sun.xml.ws.api.pipe.StreamSOAPCodec soapCodec, com.sun.xml.ws.api.SOAPVersion version, WSTCPFastInfosetStreamReaderRecyclable.RecycleAwareListener readerRecycleListener, boolean retainState) Creates a newFastInfosetStreamSOAPCodecinstance.protected abstract com.sun.xml.ws.message.stream.StreamHeadercreateHeader(XMLStreamReader reader, com.sun.xml.stream.buffer.XMLStreamBuffer mark) voiddecode(InputStream in, String contentType, com.sun.xml.ws.api.message.Packet response) voiddecode(ReadableByteChannel in, String contentType, com.sun.xml.ws.api.message.Packet response) com.sun.xml.ws.api.pipe.ContentTypeencode(com.sun.xml.ws.api.message.Packet packet, OutputStream out) com.sun.xml.ws.api.pipe.ContentTypeencode(com.sun.xml.ws.api.message.Packet packet, WritableByteChannel buffer) protected abstract com.sun.xml.ws.api.pipe.ContentTypegetContentType(String soapAction) com.sun.xml.ws.api.pipe.ContentTypegetStaticContentType(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, waitMethods inherited from interface com.sun.xml.ws.api.pipe.Codec
copy
-
Field Details
-
_defaultContentType
protected final com.sun.xml.ws.api.pipe.ContentType _defaultContentType
-
-
Method Details
-
getMimeType
- Specified by:
getMimeTypein interfacecom.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:
getStaticContentTypein interfacecom.sun.xml.ws.api.pipe.Codec
-
encode
public com.sun.xml.ws.api.pipe.ContentType encode(com.sun.xml.ws.api.message.Packet packet, OutputStream out) - Specified by:
encodein interfacecom.sun.xml.ws.api.pipe.Codec
-
encode
public com.sun.xml.ws.api.pipe.ContentType encode(com.sun.xml.ws.api.message.Packet packet, WritableByteChannel buffer) - Specified by:
encodein interfacecom.sun.xml.ws.api.pipe.Codec
-
decode
public void decode(InputStream in, String contentType, com.sun.xml.ws.api.message.Packet response) throws IOException - Specified by:
decodein interfacecom.sun.xml.ws.api.pipe.Codec- Throws:
IOException
-
decode
public void decode(ReadableByteChannel in, String contentType, com.sun.xml.ws.api.message.Packet response) - Specified by:
decodein interfacecom.sun.xml.ws.api.pipe.Codec
-
createHeader
protected abstract com.sun.xml.ws.message.stream.StreamHeader createHeader(XMLStreamReader reader, com.sun.xml.stream.buffer.XMLStreamBuffer mark) -
getContentType
-
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 newFastInfosetStreamSOAPCodecinstance.- Parameters:
version- the SOAP version of the codec.- Returns:
- a new
WSTCPFastInfosetStreamCodecinstance.
-