org.mortbay.http.handler
public class ForwardHandler extends AbstractHttpHandler
Version: $Revision: 1.16 $
| Constructor Summary | |
|---|---|
| ForwardHandler() Constructor. | |
| ForwardHandler(String rootForward) Constructor. | |
| Method Summary | |
|---|---|
| void | addForward(String pathSpecInContext, String newPath) Add a forward mapping. |
| void | handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response) |
| void | setHandleQueries(boolean b) Set the Handler up to cope with forwards to paths that contain query
elements (e.g. |
| void | setRootForward(String newPath) Add a forward mapping for root path.
|
Parameters: rootForward
Parameters: pathSpecInContext The path to forward from newPath The path to forward to.
Parameters: b
Parameters: newPath The path to forward to.