From df7d7981b56a4560c95ea7e9b194080e93398ecf Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Mon, 21 Mar 2011 21:54:31 +0000 Subject: GREAT PACKAGE RESHUFFLE: Everything is now organised into frontend, backend and common (to frontend and backend) packages. Things may have been broken. Doc refresh. --- .../ury/backend/server/AbstractRequestHandler.html | 290 +++++++++++++++++++++ 1 file changed, 290 insertions(+) create mode 100644 doc/uk/org/ury/backend/server/AbstractRequestHandler.html (limited to 'doc/uk/org/ury/backend/server/AbstractRequestHandler.html') diff --git a/doc/uk/org/ury/backend/server/AbstractRequestHandler.html b/doc/uk/org/ury/backend/server/AbstractRequestHandler.html new file mode 100644 index 0000000..6d70dc7 --- /dev/null +++ b/doc/uk/org/ury/backend/server/AbstractRequestHandler.html @@ -0,0 +1,290 @@ + + + + + + +AbstractRequestHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +uk.org.ury.backend.server +
+Class AbstractRequestHandler

+
+java.lang.Object
+  extended by uk.org.ury.backend.server.AbstractRequestHandler
+
+
+
All Implemented Interfaces:
org.apache.http.protocol.HttpRequestHandler
+
+
+
Direct Known Subclasses:
HttpHandler, LibraryRequestHandler
+
+
+
+
public abstract class AbstractRequestHandler
extends java.lang.Object
implements org.apache.http.protocol.HttpRequestHandler
+ + +

+An abstract request handler for HttpCore, providing basic functionality such + as uniform error response. +

+ +

+

+
Author:
+
Matt Windsor
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractRequestHandler(Server server, + java.lang.String mount) + +
+          Constructs a new AbstractRequestHandler.
+  + + + + + + + + + + + +
+Method Summary
+ voidhandle(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
+ +

+AbstractRequestHandler

+
+public AbstractRequestHandler(Server server,
+                              java.lang.String mount)
+
+
Constructs a new AbstractRequestHandler. + + Obviously, this class cannot be instantiated directly. +

+

+
Parameters:
server - The instance of the URY server responsible for the request.
mount - The directory to which this handler is to be mounted.
+
+ + + + + + + + +
+Method Detail
+ +

+handle

+
+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
+
+
Begins handling of a HTTP request. +

+

+
Specified by:
handle in interface org.apache.http.protocol.HttpRequestHandler
+
+
+
Parameters:
request - The HTTP request.
response - The response that the handler will populate during the + handling of the request.
context - The HTTP context. +
Throws: +
org.apache.http.HttpException +
java.io.IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3