| java.lang.Object org.apache.axis2.transport.nhttp.ServerWorker
ServerWorker | public class ServerWorker implements Runnable(Code) | | Processes an incoming request through Axis2. An instance of this class would be created to
process each unique request
|
ServerWorker | public ServerWorker(ConfigurationContext cfgCtx, NHttpServerConnection conn, boolean isHttps, ServerHandler serverHandler, HttpRequest request, InputStream is, HttpResponse response, OutputStream os)(Code) | | Create a new server side worker to process an incoming message and optionally begin creating
its output. This however does not force the processor to write a response back as the
traditional servlet service() method, but creates the background required to write the
response, if one would be created.
Parameters: cfgCtx - the Axis2 configuration context Parameters: conn - the underlying http connection Parameters: serverHandler - the handler of the server side messages Parameters: request - the http request received (might still be in the process of being streamed) Parameters: is - the stream input stream to read the request body Parameters: response - the response to be populated if applicable Parameters: os - the output stream to write the response body if one is applicable |
getConn | public NHttpServerConnection getConn()(Code) | | |
getResponse | public HttpResponse getResponse()(Code) | | |
run | public void run()(Code) | | Process the incoming request
|
|
|