| java.lang.Object com.sun.xml.ws.api.server.AbstractServerAsyncTransport
AbstractServerAsyncTransport | abstract public class AbstractServerAsyncTransport (Code) | | Partial server side async transport implementation. It manages pooling of
Codec and other details.
author: Jitendra Kotamraju |
AbstractServerAsyncTransport | public AbstractServerAsyncTransport(WSEndpoint endpoint)(Code) | | WSEndpoint.setExecutor should be called before creating the
transport
Parameters: endpoint - webservices requests are directed towards this endpoint |
decodePacket | protected Packet decodePacket(T connection, Codec codec) throws IOException(Code) | | decodes the transport data to Packet
Parameters: connection - that carries the web service request Parameters: codec - for encoding/decoding Message decoded Packet throws: IOException - if an i/o error happens while encoding/decoding |
encodePacket | abstract protected void encodePacket(T connection, Packet packet, Codec codec) throws IOException(Code) | | Encodes the
Packet to infoset and writes on the connection.
Parameters: connection - that carries the web service request Parameters: packet - that needs to encoded to infoset Parameters: codec - that does the encoding of Packet throws: IOException - if an i/o error happens while encoding/decoding |
getAcceptableMimeTypes | abstract protected String getAcceptableMimeTypes(T connection)(Code) | | If the request has Accept header, return that value
Parameters: connection - that carries the web service request Accept MIME types |
getPropertySet | abstract protected PropertySet getPropertySet(T connection)(Code) | | If there are any properties associated with the connection, those will
be added to
Packet Parameters: connection - that carries the web service request PropertySet for the connection |
getTransportBackChannel | abstract protected TransportBackChannel getTransportBackChannel(T connection)(Code) | | TransportBackChannel used by jax-ws runtime to close the connection
while the processing of the request is still continuing. In oneway HTTP case, a
response code needs to be sent before invoking the endpoint.
Parameters: connection - that carries the web service request TransportBackChannel instance using the connection |
getWebServiceContextDelegate | abstract protected WebServiceContextDelegate getWebServiceContextDelegate(T connection)(Code) | | Return a
WebServiceContextDelegate using the underlying connection.
Parameters: connection - that carries the web service request non-null WebServiceContextDelegate instance |
handle | protected void handle(T connection) throws IOException(Code) | | Reads and decodes infoset from the connection and invokes the endpoints. The
response is encoded and written to the connection. The response could be
written using a different thread.
Parameters: connection - that carries the web service request throws: IOException - if an i/o error happens while encoding/decoding |
|
|