Package | Description |
---|---|
org.restlet |
Core classes of the API.
|
org.restlet.engine.http |
Supports HTTP connectors.
|
org.restlet.engine.http.connector |
New advanced internal HTTP connector.
|
org.restlet.engine.http.security |
Supports HTTP security.
|
org.restlet.engine.security |
Supports security.
|
org.restlet.resource |
Client and server resource classes.
|
org.restlet.util |
Various utility classes.
|
Modifier and Type | Method and Description |
---|---|
ChallengeResponse |
Request.getChallengeResponse()
Returns the authentication response sent by a client to an origin server.
|
ChallengeResponse |
Request.getProxyChallengeResponse()
Returns the authentication response sent by a client to a proxy.
|
Modifier and Type | Method and Description |
---|---|
void |
Request.setChallengeResponse(ChallengeResponse challengeResponse)
Sets the authentication response sent by a client to an origin server.
|
void |
Request.setProxyChallengeResponse(ChallengeResponse challengeResponse)
Sets the authentication response sent by a client to a proxy.
|
Modifier and Type | Method and Description |
---|---|
ChallengeResponse |
HttpRequest.getChallengeResponse() |
ChallengeResponse |
HttpRequest.getProxyChallengeResponse() |
Modifier and Type | Method and Description |
---|---|
void |
HttpRequest.setChallengeResponse(ChallengeResponse response) |
void |
HttpRequest.setProxyChallengeResponse(ChallengeResponse response) |
Modifier and Type | Method and Description |
---|---|
ChallengeResponse |
ConnectedRequest.getChallengeResponse() |
ChallengeResponse |
ConnectedRequest.getProxyChallengeResponse() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectedRequest.setChallengeResponse(ChallengeResponse response) |
void |
ConnectedRequest.setProxyChallengeResponse(ChallengeResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
HttpBasicHelper.formatRawResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders) |
void |
HttpBasicHelper.parseResponse(ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders) |
Modifier and Type | Method and Description |
---|---|
static ChallengeResponse |
AuthenticatorUtils.parseResponse(Request request,
java.lang.String header,
Series<Parameter> httpHeaders)
Parses an authorization header into a challenge response.
|
Modifier and Type | Method and Description |
---|---|
int |
AuthenticatorHelper.authenticate(ChallengeResponse cr,
Request request,
Guard guard)
Deprecated.
See new org.restlet.security package.
|
void |
AuthenticatorHelper.formatRawResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders)
Formats a challenge response as raw credentials.
|
void |
SmtpPlainHelper.formatRawResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders) |
static java.lang.String |
AuthenticatorUtils.formatResponse(ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders)
Formats a challenge response as a HTTP header value.
|
java.lang.String |
AuthenticatorHelper.formatResponse(ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders)
Formats a challenge response as a HTTP header value.
|
char[] |
AuthenticatorHelper.formatSecret(ChallengeResponse challengeResponse,
Request request,
Response response,
java.lang.String identifier,
char[] baseSecret,
java.lang.String baseSecretAlgorithm)
Formats the secret of a challenge response.
|
void |
AuthenticatorHelper.parseResponse(ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders)
Parses an authorization header into a challenge response.
|
static void |
AuthenticatorUtils.update(ChallengeResponse challengeResponse,
Request request,
Response response)
Updates a ChallengeResponse object according to given request and
response.
|
Modifier and Type | Method and Description |
---|---|
ChallengeResponse |
UniformResource.getChallengeResponse()
Returns the authentication response sent by a client to an origin server.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientResource.setChallengeResponse(ChallengeResponse challengeResponse)
Sets the authentication response sent by a client to an origin server.
|
Modifier and Type | Method and Description |
---|---|
ChallengeResponse |
WrapperRequest.getChallengeResponse()
Returns the authentication response sent by a client to an origin server.
|
ChallengeResponse |
WrapperRequest.getProxyChallengeResponse()
Returns the authentication response sent by a client to a proxy.
|
Modifier and Type | Method and Description |
---|---|
void |
WrapperRequest.setChallengeResponse(ChallengeResponse response)
Sets the authentication response sent by a client to an origin server.
|
void |
WrapperRequest.setProxyChallengeResponse(ChallengeResponse response)
Sets the authentication response sent by a client to a proxy.
|
Copyright © 2005-2012. All Rights Reserved.