|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.noelios.restlet.authentication.AuthenticationHelper
com.noelios.restlet.authentication.HttpAmazonS3Helper
public class HttpAmazonS3Helper
Implements the HTTP authentication for the Amazon S3 service.
Constructor Summary | |
---|---|
HttpAmazonS3Helper()
Constructor. |
Method Summary | |
---|---|
java.lang.String |
format(ChallengeRequest request)
Formats a challenge request as a HTTP header value. |
void |
formatCredentials(java.lang.StringBuilder sb,
ChallengeResponse challenge,
Request request,
Series<Parameter> httpHeaders)
Formats a challenge response as raw credentials. |
Methods inherited from class com.noelios.restlet.authentication.AuthenticationHelper |
---|
authenticate, challenge, format, formatParameters, getChallengeScheme, getLogger, isClientSide, isServerSide, parseRequest, parseResponse, setChallengeScheme, setClientSide, setServerSide |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpAmazonS3Helper()
Method Detail |
---|
public java.lang.String format(ChallengeRequest request)
AuthenticationHelper
format
in class AuthenticationHelper
request
- The challenge request to format.
public void formatCredentials(java.lang.StringBuilder sb, ChallengeResponse challenge, Request request, Series<Parameter> httpHeaders)
AuthenticationHelper
formatCredentials
in class AuthenticationHelper
sb
- The String builder to update.challenge
- The challenge response to format.request
- The parent request.httpHeaders
- The current request HTTP headers.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |