public class ProtectedClientResource extends ClientResource implements OAuthResourceDefs
ACCESS_TOKEN, CLIENT_ID, CLIENT_SECRET, CODE, ERROR, ERROR_DESC, ERROR_URI, EXPIRES_IN, GRANT_TYPE, PASSWORD, REDIR_URI, REFRESH_TOKEN, RESPONSE_TYPE, SCOPE, STATE, TOKEN_TYPE, TOKEN_TYPE_BEARER, TOKEN_TYPE_MAC, USERNAME
Modifier | Constructor and Description |
---|---|
protected |
ProtectedClientResource() |
|
ProtectedClientResource(ClientResource resource) |
|
ProtectedClientResource(Context context,
Method method,
Reference reference) |
|
ProtectedClientResource(Context context,
Method method,
String uri) |
|
ProtectedClientResource(Context context,
Method method,
URI uri) |
|
ProtectedClientResource(Context context,
Reference reference) |
|
ProtectedClientResource(Context context,
Request request,
Response response) |
|
ProtectedClientResource(Context context,
String uri) |
|
ProtectedClientResource(Context context,
URI uri) |
|
ProtectedClientResource(Method method,
Reference reference) |
|
ProtectedClientResource(Method method,
String uri) |
|
ProtectedClientResource(Method method,
URI uri) |
|
ProtectedClientResource(Reference reference) |
|
ProtectedClientResource(Request request,
Response response) |
|
ProtectedClientResource(String uri) |
|
ProtectedClientResource(URI uri) |
Modifier and Type | Method and Description |
---|---|
org.restlet.ext.oauth.internal.Token |
getToken() |
Response |
handleOutbound(Request request) |
boolean |
isUseBodyMethod() |
void |
setToken(org.restlet.ext.oauth.internal.Token token) |
void |
setUseBodyMethod(boolean useBodyMethod) |
accept, accept, addQueryParameter, addQueryParameter, addQueryParameters, addSegment, create, create, create, createNext, createRequest, createResponse, delete, delete, delete, doError, doRelease, finalize, get, get, get, getAttribute, getChild, getChild, getChild, getChild, getMaxRedirects, getNext, getOnResponse, getOnSent, getParent, getParent, getRetryAttempts, getRetryDelay, handle, handle, handle, handle, handle, handle, handle, handle, handle, handleInbound, hasNext, head, head, isFollowingRedirects, isRequestEntityBuffering, isResponseEntityBuffering, isRetryOnError, options, options, options, patch, patch, patch, patch, post, post, post, post, put, put, put, put, redirect, retry, setAttribute, setChallengeResponse, setChallengeResponse, setClientInfo, setConditions, setCookies, setEntityBuffering, setFollowingRedirects, setHostRef, setHostRef, setLoggable, setMaxRedirects, setMethod, setNext, setOnResponse, setOnSent, setOriginalRef, setProtocol, setProxyChallengeResponse, setProxyChallengeResponse, setRanges, setReference, setReference, setReferrerRef, setReferrerRef, setRequestEntityBuffering, setResponseEntityBuffering, setRetryAttempts, setRetryDelay, setRetryOnError, wrap, wrap
doCatch, doError, doInit, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toBoolean, toByte, toDouble, toFloat, toInteger, toLong, toObject, toRepresentation, toRepresentation, toRepresentation, toShort, toString
protected ProtectedClientResource()
public ProtectedClientResource(ClientResource resource)
public ProtectedClientResource(Context context, Method method, Reference reference)
public ProtectedClientResource(Context context, Request request, Response response)
public ProtectedClientResource(Reference reference)
public ProtectedClientResource(String uri)
public ProtectedClientResource(URI uri)
public org.restlet.ext.oauth.internal.Token getToken()
public Response handleOutbound(Request request)
handleOutbound
in class ClientResource
public boolean isUseBodyMethod()
public void setToken(org.restlet.ext.oauth.internal.Token token)
public void setUseBodyMethod(boolean useBodyMethod)
Copyright © 2005-2015 Restlet.