org.exist.http
Class HttpServer

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.exist.http.HttpServer
All Implemented Interfaces:
java.lang.Runnable

public class HttpServer
extends java.lang.Thread

Description of the Class

Author:
Wolfgang Meier

Field Summary
protected static java.lang.String basedir
           
protected  Configuration config
           
protected static org.apache.log4j.Category LOG
           
protected  org.exist.http.HttpServer.ConnectionPool pool
           
protected static int port
           
protected  boolean stop
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
HttpServer(Configuration conf)
          Constructor for the HttpServer object
HttpServer(Configuration conf, int port)
          Constructor for the HttpServer object
HttpServer(Configuration conf, int port, int min, int max)
          Constructor for the HttpServer object
HttpServer(java.lang.String confFile)
          Constructor for the HttpServer object
 
Method Summary
static void main(java.lang.String[] args)
          Description of the Method
 void run()
          Main processing method for the HttpServer object
 void shutdown()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

port

protected static int port

basedir

protected static java.lang.String basedir

config

protected Configuration config

pool

protected org.exist.http.HttpServer.ConnectionPool pool

LOG

protected static org.apache.log4j.Category LOG

stop

protected boolean stop
Constructor Detail

HttpServer

public HttpServer(Configuration conf)
           throws EXistException
Constructor for the HttpServer object

Parameters:
conf - Description of the Parameter
Throws:
EXistException - Description of the Exception

HttpServer

public HttpServer(java.lang.String confFile)
           throws EXistException,
                  DatabaseConfigurationException
Constructor for the HttpServer object

Parameters:
confFile - Description of the Parameter
Throws:
EXistException - Description of the Exception
DatabaseConfigurationException - Description of the Exception

HttpServer

public HttpServer(Configuration conf,
                  int port)
           throws EXistException
Constructor for the HttpServer object

Parameters:
conf - Description of the Parameter
port - Description of the Parameter
Throws:
EXistException - Description of the Exception

HttpServer

public HttpServer(Configuration conf,
                  int port,
                  int min,
                  int max)
           throws EXistException
Constructor for the HttpServer object

Parameters:
conf - Description of the Parameter
port - Description of the Parameter
min - Description of the Parameter
max - Description of the Parameter
Throws:
EXistException - Description of the Exception
Method Detail

run

public void run()
Main processing method for the HttpServer object


shutdown

public void shutdown()

main

public static void main(java.lang.String[] args)
Description of the Method

Parameters:
args - Description of the Parameter


Copyright (C) Wolfgang Meier. All rights reserved.