public class ChallengeResponse extends Object
| Constructor and Description |
|---|
ChallengeResponse(char[] credentials,
ChallengeHandler nextChallengeHandler)
Constructor from a set of credentials to send to the server in an 'Authorization:' header
and the next challenge handler responsible for handling any further challenges for the request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearCredentials()
Clear the credentials of this response.
|
char[] |
getCredentials()
Return a set of credentials to send to the server in an 'Authorization:' header.
|
ChallengeHandler |
getNextChallengeHandler()
Return the next challenge handler responsible for handling any further challenges for the request.
|
void |
setCredentials(char[] credentials)
Establish the credentials for this response.
|
void |
setNextChallengeHandler(ChallengeHandler nextChallengeHandler)
Establish the next challenge handler responsible for handling any further challenges for the request.
|
public ChallengeResponse(char[] credentials,
ChallengeHandler nextChallengeHandler)
credentials - a set of credentials to send to the server in an 'Authorization:' headernextChallengeHandler - the next challenge handler responsible for handling any further challenges for the request.public ChallengeHandler getNextChallengeHandler()
public char[] getCredentials()
public void setCredentials(char[] credentials)
credentials - the credentials to be used for this challenge response.public void setNextChallengeHandler(ChallengeHandler nextChallengeHandler)
nextChallengeHandler - the next challenge handler responsible for handling any further challenges for the request.public void clearCredentials()
Copyright © 2015. All Rights Reserved.