xsul.xservo_soap_http
Class HttpBasedServices

java.lang.Object
  extended byxsul.xservo_soap_http.HttpBasedServices
All Implemented Interfaces:
XServiceServo

public class HttpBasedServices
extends java.lang.Object
implements XServiceServo

This class provides services over HTTP.


Constructor Summary
HttpBasedServices(HttpMiniServer server)
           
HttpBasedServices(int tcpPort)
           
HttpBasedServices(ServerSocketFactory serverSocketFactory)
           
 
Method Summary
 XService addService(XService service)
           
 HttpMiniServer getServer()
           
 int getServerPort()
           
 void service(HttpServerRequest req, HttpServerResponse res)
           
 void serviceXml(HttpServerRequest req, HttpServerResponse res)
           
 void setServer(HttpMiniServer server)
           
 void setServerPort(int tcpPort)
           
 void shutdown()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpBasedServices

public HttpBasedServices(int tcpPort)
                  throws DynamicInfosetProcessorException

HttpBasedServices

public HttpBasedServices(ServerSocketFactory serverSocketFactory)
                  throws DynamicInfosetProcessorException

HttpBasedServices

public HttpBasedServices(HttpMiniServer server)
                  throws DynamicInfosetProcessorException
Method Detail

addService

public XService addService(XService service)
Specified by:
addService in interface XServiceServo

setServerPort

public void setServerPort(int tcpPort)
                   throws DynamicInfosetProcessorException
Throws:
DynamicInfosetProcessorException

getServerPort

public int getServerPort()

getServer

public HttpMiniServer getServer()

setServer

public void setServer(HttpMiniServer server)
               throws DynamicInfosetProcessorException
Throws:
DynamicInfosetProcessorException

start

public void start()
           throws java.io.IOException,
                  DynamicInfosetProcessorException
Throws:
java.io.IOException
DynamicInfosetProcessorException

stop

public void stop()
          throws DynamicInfosetProcessorException
Throws:
DynamicInfosetProcessorException

shutdown

public void shutdown()
              throws DynamicInfosetProcessorException
Throws:
DynamicInfosetProcessorException

service

public void service(HttpServerRequest req,
                    HttpServerResponse res)
             throws HttpServerException
Throws:
HttpServerException

serviceXml

public void serviceXml(HttpServerRequest req,
                       HttpServerResponse res)
                throws HttpServerException
Throws:
HttpServerException


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