org.restlet.ext.oauth
Class ProtectedClientResource
java.lang.Object
org.restlet.resource.Resource
org.restlet.resource.ClientResource
org.restlet.ext.oauth.ProtectedClientResource
- All Implemented Interfaces:
- OAuthResourceDefs
public class ProtectedClientResource
- extends ClientResource
- implements OAuthResourceDefs
- Author:
- Shotaro Uchida
Fields inherited from interface org.restlet.ext.oauth.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 |
Constructor Summary |
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)
|
Methods inherited from class org.restlet.resource.ClientResource |
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 |
Methods inherited from class org.restlet.resource.Resource |
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, toObject, toRepresentation, toString |
ProtectedClientResource
protected ProtectedClientResource()
ProtectedClientResource
public ProtectedClientResource(ClientResource resource)
ProtectedClientResource
public ProtectedClientResource(Context context,
Method method,
Reference reference)
ProtectedClientResource
public ProtectedClientResource(Context context,
Method method,
String uri)
ProtectedClientResource
public ProtectedClientResource(Context context,
Method method,
URI uri)
ProtectedClientResource
public ProtectedClientResource(Context context,
Reference reference)
ProtectedClientResource
public ProtectedClientResource(Context context,
Request request,
Response response)
ProtectedClientResource
public ProtectedClientResource(Context context,
String uri)
ProtectedClientResource
public ProtectedClientResource(Context context,
URI uri)
ProtectedClientResource
public ProtectedClientResource(Method method,
Reference reference)
ProtectedClientResource
public ProtectedClientResource(Method method,
String uri)
ProtectedClientResource
public ProtectedClientResource(Method method,
URI uri)
ProtectedClientResource
public ProtectedClientResource(Reference reference)
ProtectedClientResource
public ProtectedClientResource(Request request,
Response response)
ProtectedClientResource
public ProtectedClientResource(String uri)
ProtectedClientResource
public ProtectedClientResource(URI uri)
getToken
public org.restlet.ext.oauth.internal.Token getToken()
setToken
public void setToken(org.restlet.ext.oauth.internal.Token token)
isUseBodyMethod
public boolean isUseBodyMethod()
setUseBodyMethod
public void setUseBodyMethod(boolean useBodyMethod)
handleOutbound
public Response handleOutbound(Request request)
- Overrides:
handleOutbound
in class ClientResource
Copyright © 2005-2014 Restlet.