Class TCPAdapter
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
- Author:
- Alexey Stashok
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.sun.xml.ws.api.server.Adapter
com.sun.xml.ws.api.server.Adapter.Toolkit -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.sun.xml.ws.transport.http.DeploymentDescriptorParser.AdapterFactory<TCPAdapter>Fields inherited from class com.sun.xml.ws.api.server.Adapter
endpoint, pool -
Constructor Summary
ConstructorsConstructorDescriptionTCPAdapter(String name, String urlPattern, com.sun.xml.ws.api.server.WSEndpoint endpoint) -
Method Summary
Modifier and TypeMethodDescriptionprotected TCPAdapter.TCPToolkitReturns the "/abc/def/ghi" portion if the URL pattern is "/abc/def/ghi/*".voidhandle(ChannelContext channelContext) static voidsendErrorResponse(ChannelContext channelContext, WSTCPError message) Methods inherited from class com.sun.xml.ws.api.server.Adapter
getEndpoint, getEndpointComponent, getPool, getSPI, reconfigure
-
Field Details
-
FACTORY
public static final com.sun.xml.ws.transport.http.DeploymentDescriptorParser.AdapterFactory<TCPAdapter> FACTORY
-
-
Constructor Details
-
TCPAdapter
-
-
Method Details
-
handle
- Throws:
IOExceptionWSTCPException
-
createToolkit
- Specified by:
createToolkitin classcom.sun.xml.ws.api.server.Adapter<TCPAdapter.TCPToolkit>
-
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
-