Class HttpHeaderCredentials


  • public final class HttpHeaderCredentials
    extends CredentialsBase
    HTTP header credentials.
    • Constructor Detail

      • HttpHeaderCredentials

        public HttpHeaderCredentials​(String headerName,
                                     String headerValue)
        Creates an instance of HttpHeaderCredentials class.
        Parameters:
        headerName - the headerName value to set.
        headerValue - the headerValue value to set.
    • Method Detail

      • getHeaderName

        public String getHeaderName()
        Get the headerName property: HTTP header name.
        Returns:
        the headerName value.
      • getHeaderValue

        public String getHeaderValue()
        Get the headerValue property: HTTP header value. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests.
        Returns:
        the headerValue value.