org.isam.exehda.services
Class HttpService
java.lang.Object
|
+--org.isam.exehda.services.AbstractService
|
+--org.isam.exehda.services.HttpService
- All Implemented Interfaces:
- java.lang.Runnable, Service
- Direct Known Subclasses:
- AvuImpl, BdaImpl, ConfigServerImpl, GatekeeperService, WorbImpl
- public class HttpService
- extends AbstractService
- implements java.lang.Runnable
Base class for HTTP-based ISAM services
- Version:
- $Date: 2004/06/16 15:14:16 $ $Revision: 1.16 $
- Author:
- last modified by $Author: lucc $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpService
public HttpService(int port)
HttpService
protected HttpService()
setPort
protected void setPort(int port)
getPort
protected int getPort()
setThreadPoolSize
protected void setThreadPoolSize(int sz)
getThreadPoolSize
protected int getThreadPoolSize()
handleRequest
protected void handleRequest(HttpService.ServiceRequest req)
throws java.io.IOException
java.io.IOException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
start
public void start()
- Specified by:
start
in interface Service
stop
public void stop()
- Specified by:
stop
in interface Service
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception