Class WSTCPFastInfosetStreamCodec

    • Field Detail

      • _defaultContentType

        protected final com.sun.xml.ws.api.pipe.ContentType _defaultContentType
    • Method Detail

      • getMimeType

        public 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,
                                                          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,
                                                          WritableByteChannel buffer)
        Specified by:
        encode in interface com.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:
        decode in interface com.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:
        decode in interface com.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)