|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.http.server.Factory
public class Factory
Web Server Factory class
Method Summary | |
---|---|
static ServerThread |
create(java.lang.Object handler)
Create a new Server using the given Handler. |
static ServerThread |
create(java.lang.Object handler,
boolean single)
Create a Single/Multi-threaded Server |
static void |
setVerbose(boolean v)
Set to true in order to get Output for Server/Dispatch descisions. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setVerbose(boolean v)
public static ServerThread create(java.lang.Object handler) throws java.io.IOException
Server
Annotation is used to describe the Port
the Server will Listen on, and methods should be Annotated with
Path
to describe responses to various Path
requests. See Test
for an Example.
java.io.IOException
public static ServerThread create(java.lang.Object handler, boolean single) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |