|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--juju.reattore.server.http.HttpServer
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 |
public HttpServer()
Method Detail |
public void setReactor(CombinedReactor reactor) throws java.io.IOException
reactor
- The reactor to attach to.
java.io.IOException
- If the sockets cannot be started up.public void setPort(int val)
val
- The port to bind to.public void setBacklog(int val)
val
- The backlog limit.public void addChild(Interceptor inter)
inter
- Top level interceptor.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |