Package | Description |
---|---|
org.restlet |
Core classes of the API.
|
org.restlet.data |
Information exchanged by components.
|
org.restlet.engine.http.header |
Supports HTTP header parsing and formatting.
|
org.restlet.engine.http.security |
Supports HTTP security.
|
org.restlet.engine.security |
Supports security.
|
org.restlet.resource |
Client and server resource classes.
|
org.restlet.security |
Classes related to security.
|
org.restlet.util |
Various utility classes.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ChallengeRequest> |
Response.getChallengeRequests()
Returns the list of authentication requests sent by an origin server to a
client.
|
java.util.List<ChallengeRequest> |
Response.getProxyChallengeRequests()
Returns the list of authentication requests sent by an origin server to a
client.
|
Modifier and Type | Method and Description |
---|---|
void |
Response.setChallengeRequest(ChallengeRequest request)
Deprecated.
Add request to
Response.getChallengeRequests() method result
instead or use Response.setChallengeRequests(List) . |
Modifier and Type | Method and Description |
---|---|
void |
Response.setChallengeRequests(java.util.List<ChallengeRequest> challengeRequests)
Sets the list of authentication requests sent by an origin server to a
client.
|
void |
Response.setProxyChallengeRequests(java.util.List<ChallengeRequest> proxyChallengeRequests)
Sets the modifiable list of authentication requests sent by a proxy to a
client.
|
Constructor and Description |
---|
ChallengeResponse(ChallengeRequest challengeRequest,
Response response,
java.lang.String identifier,
char[] baseSecret)
Constructor.
|
ChallengeResponse(ChallengeRequest challengeRequest,
Response response,
java.lang.String identifier,
char[] baseSecret,
java.lang.String baseSecretAlgorithm)
Constructor.
|
ChallengeResponse(ChallengeRequest challengeRequest,
Response response,
java.lang.String identifier,
java.lang.String baseSecret)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ChallengeRequest |
ChallengeRequestReader.readValue() |
Modifier and Type | Method and Description |
---|---|
HeaderWriter<ChallengeRequest> |
ChallengeWriter.append(ChallengeRequest value) |
Modifier and Type | Method and Description |
---|---|
HeaderWriter<ChallengeRequest> |
ChallengeWriter.append(ChallengeRequest value) |
Modifier and Type | Method and Description |
---|---|
void |
HttpBasicHelper.formatRawRequest(ChallengeWriter cw,
ChallengeRequest challenge,
Response response,
Series<Parameter> httpHeaders) |
void |
HttpBasicHelper.parseRequest(ChallengeRequest challenge,
Response response,
Series<Parameter> httpHeaders) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ChallengeRequest> |
AuthenticatorUtils.parseRequest(Response response,
java.lang.String header,
Series<Parameter> httpHeaders)
Parses an authenticate header into a list of challenge request.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthenticatorHelper.formatRawRequest(ChallengeWriter cw,
ChallengeRequest challenge,
Response response,
Series<Parameter> httpHeaders)
Formats a challenge request as raw credentials.
|
static java.lang.String |
AuthenticatorUtils.formatRequest(ChallengeRequest challenge,
Response response,
Series<Parameter> httpHeaders)
Formats a challenge request as a HTTP header value.
|
java.lang.String |
AuthenticatorHelper.formatRequest(ChallengeRequest challenge,
Response response,
Series<Parameter> httpHeaders)
Formats a challenge request as a HTTP header value.
|
void |
AuthenticatorHelper.parseRequest(ChallengeRequest challenge,
Response response,
Series<Parameter> httpHeaders)
Parses an authenticate header into a challenge request.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ChallengeRequest> |
UniformResource.getChallengeRequests()
Returns the list of authentication requests sent by an origin server to a
client.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerResource.setChallengeRequests(java.util.List<ChallengeRequest> requests)
Sets the list of authentication requests sent by an origin server to a
client.
|
Modifier and Type | Method and Description |
---|---|
protected ChallengeRequest |
ChallengeAuthenticator.createChallengeRequest(boolean stale)
Creates a new challenge request.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ChallengeRequest> |
WrapperResponse.getChallengeRequests()
Returns the list of authentication requests sent by an origin server to a
client.
|
java.util.List<ChallengeRequest> |
WrapperResponse.getProxyChallengeRequests()
Returns the list of authentication requests sent by a proxy to a client.
|
Modifier and Type | Method and Description |
---|---|
void |
WrapperResponse.setChallengeRequest(ChallengeRequest request)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
WrapperResponse.setChallengeRequests(java.util.List<ChallengeRequest> requests)
Sets the list of authentication requests sent by an origin server to a
client.
|
void |
WrapperResponse.setProxyChallengeRequests(java.util.List<ChallengeRequest> requests)
Sets the list of authentication requests sent by a proxy to a client.
|
Copyright © 2005-2012. All Rights Reserved.