com.sun.xml.ws.transport.tcp.server
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:
- TCP109Adapter, TCPServiceChannelWSAdapter
public class TCPAdapter
- extends com.sun.xml.ws.api.server.Adapter<TCPAdapter.TCPToolkit>
- Author:
- Alexey Stashok
| Fields inherited from class com.sun.xml.ws.api.server.Adapter |
endpoint, pool |
| Methods inherited from class com.sun.xml.ws.api.server.Adapter |
getEndpoint, getEndpointComponent, getPool, getSPI, reconfigure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORY
public static final com.sun.xml.ws.transport.http.DeploymentDescriptorParser.AdapterFactory<TCPAdapter> FACTORY
TCPAdapter
public TCPAdapter(@NotNull
String name,
@NotNull
String urlPattern,
@NotNull
com.sun.xml.ws.api.server.WSEndpoint endpoint)
handle
public void handle(@NotNull
ChannelContext channelContext)
throws IOException,
WSTCPException
- Throws:
IOException
WSTCPException
createToolkit
protected TCPAdapter.TCPToolkit createToolkit()
- Specified by:
createToolkit in class com.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:
IOException
WSTCPException
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.