|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.api.server.AbstractServerAsyncTransport<WSHTTPConnection>
com.sun.xml.ws.transport.http.HttpAdapter.AsyncTransport
final class HttpAdapter.AsyncTransport
Constructor Summary | |
---|---|
HttpAdapter.AsyncTransport()
|
Method Summary | |
---|---|
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 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)
|
Methods inherited from class com.sun.xml.ws.api.server.AbstractServerAsyncTransport |
---|
decodePacket, handle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpAdapter.AsyncTransport()
Method Detail |
---|
public void handleAsync(WSHTTPConnection con) throws IOException
IOException
protected void encodePacket(WSHTTPConnection con, @NotNull Packet packet, @NotNull Codec codec) throws IOException
AbstractServerAsyncTransport
Packet
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 Packet
IOException
- if an i/o error happens while encoding/decoding@Nullable protected String getAcceptableMimeTypes(WSHTTPConnection con)
AbstractServerAsyncTransport
getAcceptableMimeTypes
in class AbstractServerAsyncTransport<WSHTTPConnection>
con
- that carries the web service request
@Nullable protected TransportBackChannel getTransportBackChannel(WSHTTPConnection con)
AbstractServerAsyncTransport
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.
getTransportBackChannel
in class AbstractServerAsyncTransport<WSHTTPConnection>
con
- that carries the web service request
@NotNull protected PropertySet getPropertySet(WSHTTPConnection con)
AbstractServerAsyncTransport
Packet
getPropertySet
in class AbstractServerAsyncTransport<WSHTTPConnection>
con
- that carries the web service request
PropertySet
for the connection@NotNull protected WebServiceContextDelegate getWebServiceContextDelegate(WSHTTPConnection con)
AbstractServerAsyncTransport
WebServiceContextDelegate
using the underlying connection.
getWebServiceContextDelegate
in class AbstractServerAsyncTransport<WSHTTPConnection>
con
- that carries the web service request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |