Package org.apereo.cas.web.flow.actions
Class ConsumerExecutionAction
java.lang.Object
org.springframework.webflow.action.AbstractAction
org.apereo.cas.web.flow.actions.BaseCasWebflowAction
org.apereo.cas.web.flow.actions.ConsumerExecutionAction
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.webflow.execution.Action
- Direct Known Subclasses:
PopulateMessageContextAction.Errors,PopulateMessageContextAction.Info,PopulateMessageContextAction.Warning
This is
ConsumerExecutionAction.- Since:
- 6.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.webflow.execution.ActionConsumer action that sets the response status toHttpStatus.NO_CONTENTand marks the response as completed.static final org.springframework.webflow.execution.ActionConsumer action that does nothing and returns null, effectively being a no-op.static final org.springframework.webflow.execution.ActionConsumer action that sets the response status toHttpStatus.OKand marks the response as completed. -
Constructor Summary
ConstructorsConstructorDescriptionConsumerExecutionAction(Consumer<org.springframework.webflow.execution.RequestContext> task) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.webflow.execution.EventdoExecuteInternal(org.springframework.webflow.execution.RequestContext requestContext) setEventId(String eventId) toString()static org.springframework.webflow.execution.Actionwrap(org.springframework.webflow.execution.Action innerAction) Wrap action.Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, execute, getEventFactorySupport
-
Field Details
-
NONE
public static final org.springframework.webflow.execution.Action NONEConsumer action that does nothing and returns null, effectively being a no-op. -
OK
public static final org.springframework.webflow.execution.Action OKConsumer action that sets the response status toHttpStatus.OKand marks the response as completed. -
NO_CONTENT
public static final org.springframework.webflow.execution.Action NO_CONTENTConsumer action that sets the response status toHttpStatus.NO_CONTENTand marks the response as completed.
-
-
Constructor Details
-
ConsumerExecutionAction
-
-
Method Details
-
doExecuteInternal
public org.springframework.webflow.execution.Event doExecuteInternal(org.springframework.webflow.execution.RequestContext requestContext) throws Exception - Throws:
Exception
-
toString
-
wrap
public static org.springframework.webflow.execution.Action wrap(org.springframework.webflow.execution.Action innerAction) Wrap action.- Parameters:
innerAction- the inner action- Returns:
- the action
-
setEventId
- Returns:
this.
-