|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.ury.server.AbstractRequestHandler
public abstract class AbstractRequestHandler
An abstract request handler for HttpCore, providing basic functionality such as uniform error response.
Constructor Summary | |
---|---|
AbstractRequestHandler(Server server,
java.lang.String mount)
Constructs a new AbstractRequestHandler. |
Method Summary | |
---|---|
void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
Begins handling of a HTTP request. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractRequestHandler(Server server, java.lang.String mount)
server
- The instance of the URY server responsible for the request.mount
- The directory to which this handler is to be mounted.Method Detail |
---|
public void handle(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
handle
in interface org.apache.http.protocol.HttpRequestHandler
request
- The HTTP request.response
- The response that the handler will populate during the
handling of the request.context
- The HTTP context.
org.apache.http.HttpException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |