| org.w3c.www.protocol.http.RequestProcessor
RequestProcessor | public interface RequestProcessor (Code) | | Request processor interface.
Request processors are object whose invocation is done prior to any request
launching, and who have the opportunity to answer to the request before it
actually goes out to the target server.
Typicall request processors will probably be local cache manager, or
distributed cache managers, or any other kind of caches. They can also
be used to limit what requests are allowed to go out, and other nifty
things you can imagine.
|
Method Summary | |
public Reply | processRequest(Request request) Can this processor handle this request ?
Given the actual request, the processor is called to see if it can
actually answer it. |
processRequest | public Reply processRequest(Request request) throws HttpException(Code) | | Can this processor handle this request ?
Given the actual request, the processor is called to see if it can
actually answer it. It this is the case, the processor should return
a valid IngoingReply to be forwarded back to the application.
Parameters: request - The request to be handled. An instance of Reply, or null if theprocessor was unable to answer the request. exception: HttpException - If the processor decies that this requestis erroneous, and shouldn't proceed further. |
|
|