@Deprecated 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()
Deprecated.
|
|
ProtectedClientResource(ClientResource resource)
Deprecated.
|
|
ProtectedClientResource(Context context,
Method method,
Reference reference)
Deprecated.
|
|
ProtectedClientResource(Context context,
Method method,
java.lang.String uri)
Deprecated.
|
|
ProtectedClientResource(Context context,
Method method,
java.net.URI uri)
Deprecated.
|
|
ProtectedClientResource(Context context,
Reference reference)
Deprecated.
|
|
ProtectedClientResource(Context context,
Request request,
Response response)
Deprecated.
|
|
ProtectedClientResource(Context context,
java.lang.String uri)
Deprecated.
|
|
ProtectedClientResource(Context context,
java.net.URI uri)
Deprecated.
|
|
ProtectedClientResource(Method method,
Reference reference)
Deprecated.
|
|
ProtectedClientResource(Method method,
java.lang.String uri)
Deprecated.
|
|
ProtectedClientResource(Method method,
java.net.URI uri)
Deprecated.
|
|
ProtectedClientResource(Reference reference)
Deprecated.
|
|
ProtectedClientResource(Request request,
Response response)
Deprecated.
|
|
ProtectedClientResource(java.lang.String uri)
Deprecated.
|
|
ProtectedClientResource(java.net.URI uri)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.restlet.ext.oauth.internal.Token |
getToken()
Deprecated.
|
Response |
handleOutbound(Request request)
Deprecated.
|
boolean |
isUseBodyMethod()
Deprecated.
|
void |
setToken(org.restlet.ext.oauth.internal.Token token)
Deprecated.
|
void |
setUseBodyMethod(boolean useBodyMethod)
Deprecated.
|
accept, accept, addQueryParameter, addQueryParameter, addQueryParameters, addSegment, create, create, create, createNext, createRequest, createResponse, delete, delete, delete, doError, doError, 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, Method method, java.lang.String uri)
public ProtectedClientResource(Context context, Method method, java.net.URI uri)
public ProtectedClientResource(Context context, Reference reference)
public ProtectedClientResource(Context context, Request request, Response response)
public ProtectedClientResource(Context context, java.lang.String uri)
public ProtectedClientResource(Context context, java.net.URI uri)
public ProtectedClientResource(Method method, Reference reference)
public ProtectedClientResource(Method method, java.lang.String uri)
public ProtectedClientResource(Method method, java.net.URI uri)
public ProtectedClientResource(Reference reference)
public ProtectedClientResource(Request request, Response response)
public ProtectedClientResource(java.lang.String uri)
public ProtectedClientResource(java.net.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-2020 Restlet.