public static class HttpAuthHeader.Single
extends HttpAuthHeader
Describes an authentication header that is represented by a single blob.
HttpAuthHeader.Companion, HttpAuthHeader.Parameterized, HttpAuthHeader.Parameters, HttpAuthHeader.Single
Companion
Constructor and Description |
---|
Single(java.lang.String authScheme,
java.lang.String blob)
Describes an authentication header that is represented by a single blob.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getBlob()
contains single token 68,
|
int |
hashCode() |
java.lang.String |
render()
Encodes the header with the default
enum HeaderValueEncoding for this header. |
java.lang.String |
render(HeaderValueEncoding encoding)
Encodes the header with a specified encoding.
|
getAuthScheme, render, render, toString
public Single(java.lang.String authScheme, java.lang.String blob)
Describes an authentication header that is represented by a single blob.
blob
- contains single token 68, should consist from digits, letters and one of the following: -._~+/
public java.lang.String render()
Encodes the header with the default enum HeaderValueEncoding
for this header.
enum HeaderValueEncoding
public java.lang.String render(HeaderValueEncoding encoding)
Encodes the header with a specified encoding.
public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String getBlob()
contains single token 68,
should consist from digits, letters and one of the following: -._~+/