xsul.dispatcher.rpc.clientconnection
Class ServletClientConnection

java.lang.Object
  extended byxsul.http_server.HttpMiniServlet
      extended byxsul.dispatcher.rpc.clientconnection.ServletClientConnection

public class ServletClientConnection
extends HttpMiniServlet

This servlet serves request from client. The service is to forward the request to the good Web Service.

Author:
Alexandre di Costanzo

Constructor Summary
ServletClientConnection(RoutingTable routingTable)
          Create a new ServletClientConnection with a specified Routing Table.
 
Method Summary
 void service(HttpServerRequest req, HttpServerResponse resp)
          Create a ClientConnection to serve this method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletClientConnection

public ServletClientConnection(RoutingTable routingTable)
Create a new ServletClientConnection with a specified Routing Table.

Parameters:
routingTable - the Routing Table which this servlet will use to match virtual paths with Web Services addresses
Method Detail

service

public void service(HttpServerRequest req,
                    HttpServerResponse resp)
             throws HttpServerException
Create a ClientConnection to serve this method.

Specified by:
service in class HttpMiniServlet
Throws:
HttpServerException
See Also:
ClientConnection, HttpMiniServlet.service(xsul.http_server.HttpServerRequest, xsul.http_server.HttpServerResponse)


IU Extreme! Lab (http://www.extreme.indiana.edu)