Package org.apache.solr.servlet
Enum Class HttpSolrCall.Action
- All Implemented Interfaces:
Serializable,Comparable<HttpSolrCall.Action>,Constable
- Enclosing class:
HttpSolrCall
Enum to define action that needs to be processed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionForwards the request viaRequestDispatcher.Retry the request.Returns the control, and no further specific processing is needed. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpSolrCall.ActionReturns the enum constant of this class with the specified name.static HttpSolrCall.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORWARD
Forwards the request viaRequestDispatcher. -
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. Currently used when a core isn't found, we refresh state, and 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
-