public interface HttpHandler extends LifeCycle, java.io.Serializable
HttpServer
,
HttpContext
Modifier and Type | Method and Description |
---|---|
HttpContext |
getHttpContext() |
java.lang.String |
getName()
Get the name of the handler.
|
void |
handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
Handle a request.
|
void |
initialize(HttpContext context) |
java.lang.String getName()
HttpContext getHttpContext()
void initialize(HttpContext context)
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 HttpRequest requestresponse
- The HttpResponse responseHttpException
java.io.IOException
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.