Class TCPAdapter.TCPToolkit

java.lang.Object
com.sun.xml.ws.api.server.Adapter.Toolkit
com.sun.xml.ws.transport.tcp.server.TCPAdapter.TCPToolkit
All Implemented Interfaces:
TransportBackChannel
Enclosing class:
TCPAdapter

public class TCPAdapter.TCPToolkit extends Adapter.Toolkit implements TransportBackChannel
  • Field Details

  • Constructor Details

    • TCPToolkit

      public TCPToolkit()
  • Method Details

    • handle

      protected void handle(@NotNull TCPConnectionImpl con) throws IOException, WSTCPException
      Throws:
      IOException
      WSTCPException
    • getCodec

      @NotNull protected Codec getCodec(@NotNull ChannelContext context)
    • addCustomPacketSattellites

      public void addCustomPacketSattellites(@NotNull Packet packet)
      Method could be overwritten by children to add some extra Satellites to Packet
    • close

      public void close()
      Description copied from interface: TransportBackChannel
      See the class javadoc for the discussion.

      JAX-WS is not guaranteed to call this method for all operations that do not have a response. This is merely a hint.

      When the implementation of this method fails to close the connection successfuly, it should record the error, and return normally. Do not throw any exception.

      Specified by:
      close in interface TransportBackChannel