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 $

Nested Class Summary
protected  class HttpService.ServiceRequest
           
protected  class HttpService.ServiceResponse
           
 
Constructor Summary
protected HttpService()
           
  HttpService(int port)
           
 
Method Summary
protected  int getPort()
           
protected  int getThreadPoolSize()
           
protected  void handleRequest(HttpService.ServiceRequest req)
           
static void main(java.lang.String[] args)
           
 void run()
           
protected  void setPort(int port)
           
protected  void setThreadPoolSize(int sz)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.isam.exehda.services.AbstractService
log, log, log, log, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpService

public HttpService(int port)

HttpService

protected HttpService()
Method Detail

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