Class AuthorizationCodec.Authorization

All Implemented Interfaces:
Header, Headers.Authorization
Enclosing class:
AuthorizationCodec

public static final class AuthorizationCodec.Authorization extends ParameterizedHeader implements Headers.Authorization

Headers.Authorization header implementation.

Since:
1.5
Author:
Jeremy Kuhn
See Also:
  • Constructor Details

    • Authorization

      public Authorization(String headerValue, String authScheme, Map<String,String> authParameters)

      Creates an authorization header.

      Parameters:
      headerValue - the header value
      authScheme - the authorization scheme
      authParameters - the authorization header parameters
    • Authorization

      public Authorization(String headerName, String headerValue, String authScheme, String token)

      Creates an authorization header.

      Parameters:
      headerName - the header name
      headerValue - the header value
      authScheme - the authorization scheme
      token - the token
  • Method Details