xsul.xservo_soap_http
Class HttpBasedServices
java.lang.Object
xsul.xservo_soap_http.HttpBasedServices
- All Implemented Interfaces:
- XServiceServo
- public class HttpBasedServices
- extends java.lang.Object
- implements XServiceServo
This class provides services over HTTP.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpBasedServices
public HttpBasedServices(int tcpPort)
throws DynamicInfosetProcessorException
HttpBasedServices
public HttpBasedServices(ServerSocketFactory serverSocketFactory)
throws DynamicInfosetProcessorException
HttpBasedServices
public HttpBasedServices(HttpMiniServer server)
throws DynamicInfosetProcessorException
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)