Enum CapturePoint
- java.lang.Object
-
- java.lang.Enum<CapturePoint>
-
- org.forgerock.openig.decoration.capture.CapturePoint
-
- All Implemented Interfaces:
Serializable
,Comparable<CapturePoint>
public enum CapturePoint extends Enum<CapturePoint>
Specify where the message capture takes place. If 'NONE' is set amongst the list, it takes precedences of the others.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Prints all of the messages.FILTERED_REQUEST
Prints the filtered request (Filter only).FILTERED_RESPONSE
Prints the filtered response (Filter only).NONE
Disable the capture.REQUEST
Prints input request.RESPONSE
Prints the output response.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CapturePoint
valueOf(String name)
Returns the enum constant of this type with the specified name.static CapturePoint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final CapturePoint ALL
Prints all of the messages.
-
FILTERED_REQUEST
public static final CapturePoint FILTERED_REQUEST
Prints the filtered request (Filter only).
-
FILTERED_RESPONSE
public static final CapturePoint FILTERED_RESPONSE
Prints the filtered response (Filter only).
-
REQUEST
public static final CapturePoint REQUEST
Prints input request.
-
RESPONSE
public static final CapturePoint RESPONSE
Prints the output response. In case of a filter, this represents the response produced by the next handler. In case of a handler, this represents the handler's produced response object.
-
NONE
public static final CapturePoint NONE
Disable the capture.
-
-
Method Detail
-
values
public static CapturePoint[] 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 (CapturePoint c : CapturePoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CapturePoint 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
-
-