Package net.shibboleth.idp.profile.impl
Enum WebFlowMessageHandlerAdaptor.Direction
- java.lang.Object
-
- java.lang.Enum<WebFlowMessageHandlerAdaptor.Direction>
-
- net.shibboleth.idp.profile.impl.WebFlowMessageHandlerAdaptor.Direction
-
- All Implemented Interfaces:
Serializable,Comparable<WebFlowMessageHandlerAdaptor.Direction>
- Enclosing class:
- WebFlowMessageHandlerAdaptor
public static enum WebFlowMessageHandlerAdaptor.Direction extends Enum<WebFlowMessageHandlerAdaptor.Direction>
Used to indicate the target message context for invocation of the adapted message handler.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INBOUNDIndicates to invoke the handle on the inbound message context, obtained viaInOutOperationContext.getInboundMessageContext().OUTBOUNDIndicates to invoke the handle on the outbound message context, obtained viaInOutOperationContext.getOutboundMessageContext().
-
Constructor Summary
Constructors Modifier Constructor Description privateDirection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WebFlowMessageHandlerAdaptor.DirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static WebFlowMessageHandlerAdaptor.Direction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INBOUND
public static final WebFlowMessageHandlerAdaptor.Direction INBOUND
Indicates to invoke the handle on the inbound message context, obtained viaInOutOperationContext.getInboundMessageContext().
-
OUTBOUND
public static final WebFlowMessageHandlerAdaptor.Direction OUTBOUND
Indicates to invoke the handle on the outbound message context, obtained viaInOutOperationContext.getOutboundMessageContext().
-
-
Method Detail
-
values
public static WebFlowMessageHandlerAdaptor.Direction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WebFlowMessageHandlerAdaptor.Direction c : WebFlowMessageHandlerAdaptor.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebFlowMessageHandlerAdaptor.Direction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-