Package org.eclipse.jetty.servlet
Enum ErrorPageErrorHandler.PageLookupTechnique
- java.lang.Object
-
- java.lang.Enum<ErrorPageErrorHandler.PageLookupTechnique>
-
- org.eclipse.jetty.servlet.ErrorPageErrorHandler.PageLookupTechnique
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ErrorPageErrorHandler.PageLookupTechnique>
- Enclosing class:
- ErrorPageErrorHandler
private static enum ErrorPageErrorHandler.PageLookupTechnique extends java.lang.Enum<ErrorPageErrorHandler.PageLookupTechnique>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GLOBAL
STATUS_CODE
THROWABLE
-
Constructor Summary
Constructors Modifier Constructor Description private
PageLookupTechnique()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorPageErrorHandler.PageLookupTechnique
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ErrorPageErrorHandler.PageLookupTechnique[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THROWABLE
public static final ErrorPageErrorHandler.PageLookupTechnique THROWABLE
-
STATUS_CODE
public static final ErrorPageErrorHandler.PageLookupTechnique STATUS_CODE
-
GLOBAL
public static final ErrorPageErrorHandler.PageLookupTechnique GLOBAL
-
-
Method Detail
-
values
public static ErrorPageErrorHandler.PageLookupTechnique[] 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 (ErrorPageErrorHandler.PageLookupTechnique c : ErrorPageErrorHandler.PageLookupTechnique.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorPageErrorHandler.PageLookupTechnique valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-