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:
- Component, Reconfigurable
- Direct Known Subclasses:
- TCP109Adapter, TCPServiceChannelWSAdapter
public class TCPAdapter
- extends Adapter<TCPAdapter.TCPToolkit>
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORY
public static final DeploymentDescriptorParser.AdapterFactory<TCPAdapter> FACTORY
TCPAdapter
public TCPAdapter(@NotNull
String name,
@NotNull
String urlPattern,
@NotNull
WSEndpoint endpoint)
handle
public void handle(@NotNull
ChannelContext channelContext)
throws IOException,
WSTCPException
- Throws:
IOException
WSTCPException
createToolkit
protected TCPAdapter.TCPToolkit createToolkit()
- Description copied from class:
Adapter
- Creates a
Adapter.Toolkit instance.
If the derived class doesn't have to add any per-thread state
to Adapter.Toolkit, simply implement this as new Toolkit().
- Specified by:
createToolkit in class 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-2015 Oracle Corporation. All Rights Reserved.