|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
HTTP request handler.
| Method Summary | |
void |
destroy()
Destroy the handler. |
HandlerContext |
getHandlerContext()
|
java.lang.String |
getName()
|
void |
handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
Handle a request. |
void |
initialize(HandlerContext context)
|
boolean |
isDestroyed()
|
boolean |
isStarted()
|
void |
start()
Start the handler. |
void |
stop()
Stop the handler. |
| Method Detail |
public java.lang.String getName()
public HandlerContext getHandlerContext()
public void initialize(HandlerContext context)
public void start()
throws java.lang.Exception
start in interface LifeCycleorg.mortbay.util.LifeCyclejava.lang.Exception - An arbitrary exception may be thrown.
public void stop()
throws java.lang.InterruptedException
stop in interface LifeCyclepublic void destroy()
destroy in interface LifeCyclepublic boolean isStarted()
isStarted in interface LifeCyclepublic boolean isDestroyed()
isDestroyed in interface LifeCycle
public void handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
throws HttpException,
java.io.IOException
pathInContext - The context pathpathParams - Path parameters such as encoded Session IDrequest - The requestresponse - The response.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||