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:
Component,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
Adapter.Toolkit -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeploymentDescriptorParser.AdapterFactory<TCPAdapter> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TCPAdapter.TCPToolkitCreates aAdapter<TK extends Adapter.Toolkit>.Toolkitinstance.Returns 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
-
-
Constructor Details
-
TCPAdapter
-
-
Method Details
-
handle
- Throws:
IOExceptionWSTCPException
-
createToolkit
Description copied from class:AdapterCreates aAdapter<TK extends Adapter.Toolkit>.Toolkitinstance.If the derived class doesn't have to add any per-thread state to
Adapter<TK extends Adapter.Toolkit>.Toolkit, simply implement this asnew Toolkit().- Specified by:
createToolkitin classAdapter<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
-