Package org.apache.solr.servlet
Enum Class SolrDispatchFilter.Action
- All Implemented Interfaces:
Serializable,Comparable<SolrDispatchFilter.Action>,Constable
- Enclosing class:
SolrDispatchFilter
Enum to define action that needs to be processed. PASSTHROUGH: Pass through to another filter
via webapp. FORWARD: Forward rewritten URI (without path prefix and core/collection name) to
another filter in the chain RETURN: Returns the control, and no further specific processing is
needed. This is generally when an error is set and returned. RETRY:Retry the request. In cases
when a core isn't found to work with, this is set.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic SolrDispatchFilter.ActionReturns the enum constant of this class with the specified name.static SolrDispatchFilter.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PASSTHROUGH
-
FORWARD
-
RETURN
-
RETRY
-
ADMIN
-
REMOTEPROXY
-
PROCESS
-
ADMIN_OR_REMOTEPROXY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-