|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.shiftone.jrat.http.Dispatcher
public class Dispatcher
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.shiftone.jrat.http.Handler |
---|
Handler.ContentType |
Constructor Summary | |
---|---|
Dispatcher(java.lang.String title)
|
Method Summary | |
---|---|
void |
addRoute(java.lang.String path,
Handler handler)
|
void |
handle(Request request,
Response response)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dispatcher(java.lang.String title)
Method Detail |
---|
public void addRoute(java.lang.String path, Handler handler)
public void handle(Request request, Response response) throws java.lang.Exception
handle
in interface Handler
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |