| Package | Description |
|---|---|
| org.restlet |
Core classes of the Restlet API.
|
| org.restlet.engine.adapter |
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
|
| 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 |
|---|---|
static ChallengeResponse |
AuthenticatorUtils.parseResponse(Request request,
String header,
Series<Header> httpHeaders)
Parses an authorization header into a challenge response.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
AuthenticatorUtils.formatResponse(ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders)
Formats a challenge response as a HTTP header value.
|
void |
AuthenticatorHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders)
Formats a challenge response as raw credentials.
|
void |
HttpBasicHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
void |
SmtpPlainHelper.formatResponse(ChallengeWriter cw,
ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders)
Deprecated.
|
void |
AuthenticatorHelper.parseResponse(ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders)
Parses an authorization header into a challenge response.
|
void |
HttpBasicHelper.parseResponse(ChallengeResponse challenge,
Request request,
Series<Header> httpHeaders) |
static void |
AuthenticatorUtils.update(ChallengeResponse challengeResponse,
Request request,
Response response)
Updates a
ChallengeResponse object according to given request and
response. |
static Reference |
AuthenticatorUtils.updateReference(Reference resourceRef,
ChallengeResponse challengeResponse,
Request request)
Optionally updates the request with a challenge response before sending it.
|
Reference |
AuthenticatorHelper.updateReference(Reference resourceRef,
ChallengeResponse challengeResponse,
Request request)
Optionally updates the request with a challenge response before sending it.
|
| Modifier and Type | Method and Description |
|---|---|
ChallengeResponse |
Resource.getChallengeResponse()
Returns the authentication response sent by a client to an origin server.
|
ChallengeResponse |
Resource.getProxyChallengeResponse()
Returns the proxy 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.
|
void |
ClientResource.setProxyChallengeResponse(ChallengeResponse challengeResponse)
Sets the proxy 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–2025. All rights reserved.