juju.reattore.server.http
Class HttpServer

java.lang.Object
  |
  +--juju.reattore.server.http.HttpServer

public class HttpServer
extends java.lang.Object

Main Http server entry point.


Constructor Summary
HttpServer()
           
 
Method Summary
 void addChild(Interceptor inter)
          Configures the top level interceptor.
 void setBacklog(int val)
          Configures the TCP server socket backlog limit.
 void setPort(int val)
          Configure the TCP port to bind to.
 void setReactor(CombinedReactor reactor)
          Bind this server to the given reactor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServer

public HttpServer()
Method Detail

setReactor

public void setReactor(CombinedReactor reactor)
                throws java.io.IOException
Bind this server to the given reactor. Used in configuration.

Parameters:
reactor - The reactor to attach to.
Throws:
java.io.IOException - If the sockets cannot be started up.

setPort

public void setPort(int val)
Configure the TCP port to bind to.

Parameters:
val - The port to bind to.

setBacklog

public void setBacklog(int val)
Configures the TCP server socket backlog limit.

Parameters:
val - The backlog limit.

addChild

public void addChild(Interceptor inter)
Configures the top level interceptor.

Parameters:
inter - Top level interceptor.


Copyright © 2002-2003 Michael Hope. All Rights Reserved.