|
|||||||||
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 LifeCycle
org.mortbay.util.LifeCycle
java.lang.Exception
- An arbitrary exception may be thrown.public void stop() throws java.lang.InterruptedException
stop
in interface LifeCycle
public void destroy()
destroy
in interface LifeCycle
public boolean isStarted()
isStarted
in interface LifeCycle
public 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 |