| com.sun.xml.ws.transport.http.HttpAdapter
All known Subclasses: com.sun.xml.ws.transport.http.servlet.ServletAdapter,
HttpAdapter | public class HttpAdapter extends Adapter (Code) | | Adapter that receives messages in HTTP.
This object also assigns unique query string (such as "xsd=1") to
each
SDDocument so that they can be served by HTTP GET requests.
author: Kohsuke Kawaguchi author: Jitendra Kotamraju |
Inner Class :final class AsyncTransport extends AbstractServerAsyncTransport | |
dump | public static boolean dump(Code) | | Dumps what goes across HTTP transport.
|
publishStatusPage | public static boolean publishStatusPage(Code) | | |
createAlone | public static HttpAdapter createAlone(WSEndpoint endpoint)(Code) | | Creates a lone
HttpAdapter that does not know of any other
HttpAdapter s.
This is convenient for creating an
HttpAdapter for an environment
where they don't know each other (such as JavaSE deployment.)
Parameters: endpoint - web service endpoint singe adapter to process HTTP messages |
createToolkit | protected HttpToolkit createToolkit()(Code) | | |
getValidPath | public String getValidPath()(Code) | | Returns the "/abc/def/ghi" portion if
the URL pattern is "/abc/def/ghi/*".
|
handle | public void handle(WSHTTPConnection connection) throws IOException(Code) | | Receives the incoming HTTP connection and dispatches
it to JAX-WS. This method returns when JAX-WS completes
processing the request and the whole reply is written
to
WSHTTPConnection .
This method is invoked by the lower-level HTTP stack,
and "connection" here is an HTTP connection.
To populate a request
Packet with more info,
define
PropertySet.Property properties on
WSHTTPConnection .
Parameters: connection - to receive/send HTTP messages for web service endpoints throws: IOException - when I/O errors happen |
publishWSDL | public void publishWSDL(WSHTTPConnection con) throws IOException(Code) | | Sends out the WSDL (and other referenced documents)
in response to the GET requests to URLs like "?wsdl" or "?xsd=2".
Parameters: con - The connection to which the data will be sent. throws: IOException - when I/O errors happen |
|
|