Class Forward
java.lang.Object
org.ocpsoft.rewrite.config.DefaultOperationBuilder
org.ocpsoft.rewrite.servlet.config.HttpOperation
org.ocpsoft.rewrite.servlet.config.Forward
- All Implemented Interfaces:
Operation,OperationBuilder,Parameterized
An
Operation that forwards an inbound request to a configured internal resource Address via
InboundServletRewrite.forward(String)- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionvoidperformHttp(HttpServletRewrite event, EvaluationContext context) voidsetParameterStore(ParameterStore store) static ForwardCreate a newOperationthat forwards the current request to the given location within the servlet container.toString()Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpOperation
performMethods inherited from class org.ocpsoft.rewrite.config.DefaultOperationBuilder
and
-
Method Details
-
to
Create a newOperationthat forwards the current request to the given location within the servlet container. This does not change the browserAddress, all processing is handled within the currentHttpServletRequest.The given location may be parameterized:
/example/{param}.html
/example/{value}/sub/{value2}
...- Parameters:
location-ParameterizedPatternspecifying theAddressof the internal resource.
-
performHttp
- Specified by:
performHttpin classHttpOperation
-
toString
-
getTargetExpression
-
getRequiredParameterNames
- Specified by:
getRequiredParameterNamesin interfaceParameterized
-
setParameterStore
- Specified by:
setParameterStorein interfaceParameterized
-