Constants (Apache Tomcat 10.1.48 API Documentation)
Description: declaration: package: org.apache.catalina.filters, class: Constants

# Class Constants

java.lang.Object
org.apache.catalina.filters.Constants

public final class Constants extends Object
Manifest constants for this Java package.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `CSRF_NONCE_REQUEST_ATTR_NAME`
  The request attribute key under which the current request's CSRF nonce can be found.
  `static final String`
  `CSRF_NONCE_REQUEST_PARAM`
  The name of the request parameter which carries CSRF nonces from the client to the server for validation.
  `static final String`
  `CSRF_NONCE_REQUEST_PARAM_NAME_KEY`
  The servlet context attribute key under which the CSRF request parameter name can be found.
  `static final String`
  `CSRF_NONCE_SESSION_ATTR_NAME`
  The session attribute key under which the CSRF nonce cache will be stored.
  `static final String`
  `CSRF_REST_NONCE_HEADER_FETCH_VALUE`
  `static final String`
  `CSRF_REST_NONCE_HEADER_NAME`
  `static final String`
  `CSRF_REST_NONCE_HEADER_NAME_KEY`
  The servlet context attribute key under which the CSRF REST header name can be found.
  `static final String`
  `CSRF_REST_NONCE_HEADER_REQUIRED_VALUE`
  `static final String`
  `CSRF_REST_NONCE_SESSION_ATTR_NAME`
  The session attribute key under which the CSRF REST nonce cache will be stored.
  `static final String`
  `METHOD_GET`
  Deprecated.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Constants()`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### CSRF_NONCE_SESSION_ATTR_NAME

    public static final String CSRF_NONCE_SESSION_ATTR_NAME
    The session attribute key under which the CSRF nonce cache will be stored.
    See Also:
      - Constant Field Values

  - ### CSRF_NONCE_REQUEST_ATTR_NAME

    public static final String CSRF_NONCE_REQUEST_ATTR_NAME
    The request attribute key under which the current request's CSRF nonce can be found.
    See Also:
      - Constant Field Values

  - ### CSRF_NONCE_REQUEST_PARAM

    public static final String CSRF_NONCE_REQUEST_PARAM
    The name of the request parameter which carries CSRF nonces from the client to the server for validation.
    See Also:
      - Constant Field Values

  - ### CSRF_NONCE_REQUEST_PARAM_NAME_KEY

    public static final String CSRF_NONCE_REQUEST_PARAM_NAME_KEY
    The servlet context attribute key under which the CSRF request parameter name can be found.
    See Also:
      - Constant Field Values

  - ### METHOD_GET

    @Deprecated public static final String METHOD_GET
    Deprecated.
    See Also:
      - Constant Field Values

  - ### CSRF_REST_NONCE_HEADER_NAME

    public static final String CSRF_REST_NONCE_HEADER_NAME
    See Also:
      - Constant Field Values

  - ### CSRF_REST_NONCE_HEADER_FETCH_VALUE

    public static final String CSRF_REST_NONCE_HEADER_FETCH_VALUE
    See Also:
      - Constant Field Values

  - ### CSRF_REST_NONCE_HEADER_REQUIRED_VALUE

    public static final String CSRF_REST_NONCE_HEADER_REQUIRED_VALUE
    See Also:
      - Constant Field Values

  - ### CSRF_REST_NONCE_SESSION_ATTR_NAME

    public static final String CSRF_REST_NONCE_SESSION_ATTR_NAME
    The session attribute key under which the CSRF REST nonce cache will be stored.
    See Also:
      - Constant Field Values

  - ### CSRF_REST_NONCE_HEADER_NAME_KEY

    public static final String CSRF_REST_NONCE_HEADER_NAME_KEY
    The servlet context attribute key under which the CSRF REST header name can be found.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Constants

    public Constants()