Class LazyStreamCodec

  • All Implemented Interfaces:
    com.sun.xml.ws.api.pipe.Codec, com.sun.xml.ws.api.pipe.StreamSOAPCodec

    public class LazyStreamCodec
    extends Object
    implements com.sun.xml.ws.api.pipe.StreamSOAPCodec
    Author:
    K.Venugopal@sun.com
    • Constructor Detail

      • LazyStreamCodec

        public LazyStreamCodec​(com.sun.xml.ws.api.pipe.StreamSOAPCodec codec)
        Creates a new instance of SecurityStream11Codec
    • Method Detail

      • decode

        public com.sun.xml.ws.api.message.Message decode​(XMLStreamReader reader)
        Specified by:
        decode in interface com.sun.xml.ws.api.pipe.StreamSOAPCodec
      • decode

        @NotNull
        public com.sun.xml.ws.api.message.Message decode​(@NotNull
                                                         XMLStreamReader reader,
                                                         com.sun.xml.ws.api.message.AttachmentSet att)
        Specified by:
        decode in interface com.sun.xml.ws.api.pipe.StreamSOAPCodec
      • 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 outputStream)
                                                   throws IOException
        Specified by:
        encode in interface com.sun.xml.ws.api.pipe.Codec
        Throws:
        IOException
      • encode

        public com.sun.xml.ws.api.pipe.ContentType encode​(com.sun.xml.ws.api.message.Packet packet,
                                                          WritableByteChannel writableByteChannel)
        Specified by:
        encode in interface com.sun.xml.ws.api.pipe.Codec
      • copy

        public com.sun.xml.ws.api.pipe.Codec copy()
        Specified by:
        copy in interface com.sun.xml.ws.api.pipe.Codec
      • decode

        public void decode​(InputStream inputStream,
                           String string,
                           com.sun.xml.ws.api.message.Packet packet)
                    throws IOException
        Specified by:
        decode in interface com.sun.xml.ws.api.pipe.Codec
        Throws:
        IOException
      • decode

        public void decode​(ReadableByteChannel readableByteChannel,
                           String string,
                           com.sun.xml.ws.api.message.Packet packet)
        Specified by:
        decode in interface com.sun.xml.ws.api.pipe.Codec