Enum Class HttpSolrCall.Action

java.lang.Object
java.lang.Enum<HttpSolrCall.Action>
org.apache.solr.servlet.HttpSolrCall.Action
All Implemented Interfaces:
Serializable, Comparable<HttpSolrCall.Action>, Constable
Enclosing class:
HttpSolrCall

public static enum HttpSolrCall.Action extends Enum<HttpSolrCall.Action>
Enum to define action that needs to be processed.
  • Enum Constant Details

    • FORWARD

      public static final HttpSolrCall.Action FORWARD
      Forwards the request via RequestDispatcher.
    • RETURN

      public static final HttpSolrCall.Action RETURN
      Returns the control, and no further specific processing is needed. This is generally when an error is set and returned.
    • RETRY

      public static final HttpSolrCall.Action RETRY
      Retry the request. Currently used when a core isn't found, we refresh state, and retry.
    • ADMIN

      public static final HttpSolrCall.Action ADMIN
    • REMOTEPROXY

      public static final HttpSolrCall.Action REMOTEPROXY
    • PROCESS

      public static final HttpSolrCall.Action PROCESS
    • ADMIN_OR_REMOTEPROXY

      public static final HttpSolrCall.Action ADMIN_OR_REMOTEPROXY
  • Method Details

    • values

      public static HttpSolrCall.Action[] 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

      public static HttpSolrCall.Action valueOf(String name)
      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 name
      NullPointerException - if the argument is null