Class HttpExchange.Principal

java.lang.Object
org.springframework.boot.actuate.web.exchanges.HttpExchange.Principal
Enclosing class:
HttpExchange

public static final class HttpExchange.Principal extends Object
Principal associated with an HTTP request-response exchange.
  • Constructor Details

    • Principal

      public Principal(String name)
      Creates a Principal. Primarily for use by HttpExchange.Principal implementations when recreating a response from a persistent store.
      Parameters:
      name - the name of the principal
  • Method Details

    • getName

      public String getName()
      Return the name of the principal.
      Returns:
      the principal name