java.lang.Object
java.lang.Enum<Include>
org.springframework.boot.actuate.trace.http.Include
All Implemented Interfaces:
Serializable, Comparable<Include>, Constable

public enum Include extends Enum<Include>
Include options for HTTP tracing.
Since:
2.0.0
Author:
Wallace Wadge, Emily Tsanova, Joseph Beeton
  • Enum Constant Details

    • REQUEST_HEADERS

      public static final Include REQUEST_HEADERS
      Include request headers.
    • RESPONSE_HEADERS

      public static final Include RESPONSE_HEADERS
      Include response headers.
    • AUTHORIZATION_HEADER

      public static final Include AUTHORIZATION_HEADER
      Include authorization header (if any).
    • PRINCIPAL

      public static final Include PRINCIPAL
      Include the principal.
    • REMOTE_ADDRESS

      public static final Include REMOTE_ADDRESS
      Include the remote address.
    • SESSION_ID

      public static final Include SESSION_ID
      Include the session ID.
    • TIME_TAKEN

      public static final Include TIME_TAKEN
      Include the time taken to service the request in milliseconds.
  • Method Details

    • values

      public static Include[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Include valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • defaultIncludes

      public static Set<Include> defaultIncludes()
      Return the default Include.
      Returns:
      the default include.