final class HttpAdapter.AsyncTransport extends AbstractServerAsyncTransport<WSHTTPConnection>
| Constructor and Description |
|---|
HttpAdapter.AsyncTransport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encodePacket(WSHTTPConnection con,
Packet packet,
Codec codec)
Encodes the
Packet to infoset and writes on the connection. |
protected String |
getAcceptableMimeTypes(WSHTTPConnection con)
If the request has Accept header, return that value
|
protected org.jvnet.ws.message.PropertySet |
getPropertySet(WSHTTPConnection con)
If there are any properties associated with the connection, those will
be added to
Packet |
protected TransportBackChannel |
getTransportBackChannel(WSHTTPConnection con)
TransportBackChannel used by jax-ws runtime to close the connection
while the processing of the request is still continuing. |
protected WebServiceContextDelegate |
getWebServiceContextDelegate(WSHTTPConnection con)
Return a
WebServiceContextDelegate using the underlying connection. |
void |
handleAsync(WSHTTPConnection con) |
decodePacket, handlepublic void handleAsync(WSHTTPConnection con) throws IOException
IOExceptionprotected void encodePacket(WSHTTPConnection con, @NotNull Packet packet, @NotNull Codec codec) throws IOException
AbstractServerAsyncTransportPacket to infoset and writes on the connection.encodePacket in class AbstractServerAsyncTransport<WSHTTPConnection>con - that carries the web service requestpacket - that needs to encoded to infosetcodec - that does the encoding of PacketIOException - if an i/o error happens while encoding/decoding@Nullable protected String getAcceptableMimeTypes(WSHTTPConnection con)
AbstractServerAsyncTransportgetAcceptableMimeTypes in class AbstractServerAsyncTransport<WSHTTPConnection>con - that carries the web service request@Nullable protected TransportBackChannel getTransportBackChannel(WSHTTPConnection con)
AbstractServerAsyncTransportTransportBackChannel 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.getTransportBackChannel in class AbstractServerAsyncTransport<WSHTTPConnection>con - that carries the web service request@NotNull protected org.jvnet.ws.message.PropertySet getPropertySet(WSHTTPConnection con)
AbstractServerAsyncTransportPacketgetPropertySet in class AbstractServerAsyncTransport<WSHTTPConnection>con - that carries the web service requestPropertySet for the connection@NotNull protected WebServiceContextDelegate getWebServiceContextDelegate(WSHTTPConnection con)
AbstractServerAsyncTransportWebServiceContextDelegate using the underlying connection.getWebServiceContextDelegate in class AbstractServerAsyncTransport<WSHTTPConnection>con - that carries the web service requestCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.