public class Forward extends HttpOperation implements Parameterized
Operation that performs forwards via
InboundServletRewrite.forward(String)DefaultOperationBuilder.NoOp| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getRequiredParameterNames() |
ParameterizedPatternBuilder |
getTargetExpression() |
void |
performHttp(HttpServletRewrite event,
EvaluationContext context) |
void |
setParameterStore(ParameterStore store) |
static Forward |
to(String location)
Forward the current request to the given location within the servlet container.
|
String |
toString() |
performand, create, wrappublic static Forward to(String location)
URL, all processing is handled within the current HttpServletRequest.
The given location may be parameterized using the following format:
/example/{param}
/example/{value}/sub/{value2}
... and so on
Parameters may be bound. By default, matching parameter values are extracted from bindings in the
EvaluationContext.
See also #where(String)
public void performHttp(HttpServletRewrite event, EvaluationContext context)
performHttp in class HttpOperationpublic ParameterizedPatternBuilder getTargetExpression()
public Set<String> getRequiredParameterNames()
getRequiredParameterNames in interface Parameterizedpublic void setParameterStore(ParameterStore store)
setParameterStore in interface ParameterizedCopyright © 2013 OCPsoft. All Rights Reserved.