public class PhaseAction extends PhaseOperation<PhaseAction>
PhaseId. Has a Weighted.priority() of 0.DefaultOperationBuilder.NoOp| Modifier and Type | Method and Description |
|---|---|
void |
performOperation(HttpServletRewrite event,
EvaluationContext context)
Perform operation before or after the specified phases.
|
int |
priority() |
static PhaseAction |
retrieveFrom(Retrieval retrieval)
Invoke the given
Retrieval and process InvocationResultHandler instances on the result value (if
any.) |
static PhaseAction |
submitTo(Submission to,
Retrieval from)
Invoke
Submission#submit(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext, Object), use the result of
the given Retrieval#retrieve(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext) as the value for this
submission. |
after, before, enqueue, enqueue, getAfterPhases, getBeforePhases, getContext, getEvent, getSortedPhaseOperations, performHttpperformand, create, wrappublic static PhaseAction retrieveFrom(Retrieval retrieval)
Retrieval and process InvocationResultHandler instances on the result value (if
any.)
By default, this action is invoked after PhaseId.RESTORE_VIEW
public static PhaseAction submitTo(Submission to, Retrieval from)
Submission#submit(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext, Object), use the result of
the given Retrieval#retrieve(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext) as the value for this
submission. Process InvocationResultHandler instances on the result value (if any.)
By default, this action is invoked after PhaseId.RESTORE_VIEW
public int priority()
public void performOperation(HttpServletRewrite event, EvaluationContext context)
PhaseOperationperformOperation in class PhaseOperation<PhaseAction>Copyright © 2013 OCPsoft. All Rights Reserved.