|
|||||||||
| Home >> All >> juju >> reattore >> server >> [ intercept overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
juju.reattore.server.intercept
Interface Interceptor

- All Known Subinterfaces:
- CachableInterceptor
- public interface Interceptor
An Interceptor is a module that is given a chance to process an incomming request and to respond to it. The Interceptor can do any combination of passing the request on, causing a side effect on the response such as adding a header, or supply the response body.
| Method Summary | |
boolean |
process(juju.reattore.protocol.http.HttpRequest req,
juju.reattore.protocol.http.HttpResponse resp)
Process an incoming HTTP request if possible, filling in the given response as it goes. |
| Method Detail |
process
public boolean process(juju.reattore.protocol.http.HttpRequest req, juju.reattore.protocol.http.HttpResponse resp)
- Process an incoming HTTP request if possible, filling in the
given response as it goes. An interceptor may have side
effects without actually performing the main processing and
may pass it on to another interceptor. A authentication
interceptor is a good example.
|
|||||||||
| Home >> All >> juju >> reattore >> server >> [ intercept overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC