- java.lang.Object
-
- com.sun.xml.ws.api.server.Adapter<TCPAdapter.TCPToolkit>
-
- com.sun.xml.ws.transport.tcp.server.TCPAdapter
-
- All Implemented Interfaces:
com.sun.xml.ws.api.Component,com.sun.xml.ws.api.config.management.Reconfigurable
- Direct Known Subclasses:
TCPServiceChannelWSAdapter
public class TCPAdapter extends com.sun.xml.ws.api.server.Adapter<TCPAdapter.TCPToolkit>
- Author:
- Alexey Stashok
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTCPAdapter.TCPToolkit
-
Field Summary
Fields Modifier and Type Field Description static com.sun.xml.ws.transport.http.DeploymentDescriptorParser.AdapterFactory<TCPAdapter>FACTORY
-
Constructor Summary
Constructors Constructor Description TCPAdapter(String name, String urlPattern, com.sun.xml.ws.api.server.WSEndpoint endpoint)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TCPAdapter.TCPToolkitcreateToolkit()StringgetValidPath()Returns the "/abc/def/ghi" portion if the URL pattern is "/abc/def/ghi/*".voidhandle(ChannelContext channelContext)static voidsendErrorResponse(ChannelContext channelContext, WSTCPError message)
-
-
-
Field Detail
-
FACTORY
public static final com.sun.xml.ws.transport.http.DeploymentDescriptorParser.AdapterFactory<TCPAdapter> FACTORY
-
-
Method Detail
-
handle
public void handle(@NotNull ChannelContext channelContext) throws IOException, WSTCPException- Throws:
IOExceptionWSTCPException
-
createToolkit
protected TCPAdapter.TCPToolkit createToolkit()
- Specified by:
createToolkitin classcom.sun.xml.ws.api.server.Adapter<TCPAdapter.TCPToolkit>
-
getValidPath
public 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 IOException, WSTCPException- Throws:
IOExceptionWSTCPException
-
-