com.sun.xml.ws.transport.tcp.server
Class TCPAdapter

java.lang.Object
  extended by com.sun.xml.ws.api.server.Adapter<TCPAdapter.TCPToolkit>
      extended by com.sun.xml.ws.transport.tcp.server.TCPAdapter
Direct Known Subclasses:
TCP109Adapter, TCPServiceChannelWSAdapter

public class TCPAdapter
extends com.sun.xml.ws.api.server.Adapter<TCPAdapter.TCPToolkit>


Nested Class Summary
 class TCPAdapter.TCPToolkit
           
 
Nested classes/interfaces inherited from class com.sun.xml.ws.api.server.Adapter
com.sun.xml.ws.api.server.Adapter.Toolkit
 
Field Summary
static com.sun.xml.ws.transport.http.DeploymentDescriptorParser.AdapterFactory<TCPAdapter> FACTORY
           
 
Fields inherited from class com.sun.xml.ws.api.server.Adapter
endpoint, pool
 
Constructor Summary
TCPAdapter(java.lang.String name, java.lang.String urlPattern, com.sun.xml.ws.api.server.WSEndpoint endpoint)
           
 
Method Summary
protected  TCPAdapter.TCPToolkit createToolkit()
           
 java.lang.String getValidPath()
          Returns the "/abc/def/ghi" portion if the URL pattern is "/abc/def/ghi/*".
 void handle(ChannelContext channelContext)
           
static void sendErrorResponse(ChannelContext channelContext, WSTCPError message)
           
 
Methods inherited from class com.sun.xml.ws.api.server.Adapter
getEndpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORY

public static final com.sun.xml.ws.transport.http.DeploymentDescriptorParser.AdapterFactory<TCPAdapter> FACTORY
Constructor Detail

TCPAdapter

public TCPAdapter(@NotNull
                  java.lang.String name,
                  @NotNull
                  java.lang.String urlPattern,
                  @NotNull
                  com.sun.xml.ws.api.server.WSEndpoint endpoint)
Method Detail

handle

public void handle(@NotNull
                   ChannelContext channelContext)
            throws java.io.IOException,
                   WSTCPException
Throws:
java.io.IOException
WSTCPException

createToolkit

protected TCPAdapter.TCPToolkit createToolkit()
Specified by:
createToolkit in class com.sun.xml.ws.api.server.Adapter<TCPAdapter.TCPToolkit>

getValidPath

public java.lang.String getValidPath()
Returns the "/abc/def/ghi" portion if the URL pattern is "/abc/def/ghi/*".


sendErrorResponse

public static void sendErrorResponse(@NotNull
                                     ChannelContext channelContext,
                                     WSTCPError message)
                              throws java.io.IOException,
                                     WSTCPException
Throws:
java.io.IOException
WSTCPException