public final class Challenge extends Object implements Serializable
Constructor and Description |
---|
Challenge(String realm,
List<String> headers,
Collection<Algorithm> algorithms)
Construct a
Challenge instance |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Algorithm> |
getAlgorithms() |
String |
getAlgorithmsString() |
List<String> |
getHeaders() |
String |
getHeaderValue() |
String |
getRealm() |
int |
hashCode() |
static Challenge |
parse(String header)
Parse a WWW-Authenticate header value to create a
Challenge |
static List<Algorithm> |
parseAlgorithms(String algorithms) |
String |
toString() |
public String getRealm()
public String getHeaderValue()
public String getAlgorithmsString()
public static Challenge parse(String header)
Challenge
header
- WWW-Authenticate header valueChallenge
headerCopyright © 2013-2017. All Rights Reserved.