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
Fields Modifier and Type Field Description protected com.sun.xml.ws.api.pipe.ContentType_defaultContentType
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static 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)StringgetMimeType()com.sun.xml.ws.api.pipe.ContentTypegetStaticContentType(com.sun.xml.ws.api.message.Packet packet)
-
-
-
Method Detail
-
getMimeType
public String 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
protected abstract com.sun.xml.ws.api.pipe.ContentType getContentType(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 newFastInfosetStreamSOAPCodecinstance.- Parameters:
version- the SOAP version of the codec.- Returns:
- a new
WSTCPFastInfosetStreamCodecinstance.
-
-