com.noelios.restlet.ext.oauth
Class AccessTokenResource
java.lang.Object
org.restlet.Handler
org.restlet.resource.Resource
com.noelios.restlet.ext.oauth.AccessTokenResource
public class AccessTokenResource
- extends Resource
An OAuth Access Token.
- Author:
- Adam Rosien
Methods inherited from class org.restlet.resource.Resource |
allowDelete, allowGet, allowPut, delete, getPreferredRepresentation, getPreferredVariant, getRepresentation, getVariants, handleDelete, handleGet, handlePost, handlePut, init, isAvailable, isModifiable, isNegotiateContent, isReadable, post, put, removeRepresentations, represent, setAvailable, setModifiable, setNegotiateContent, setReadable, setVariants, storeRepresentation |
Methods inherited from class org.restlet.Handler |
allowHead, allowOptions, generateRef, getAllowedMethods, getApplication, getContext, getLogger, getMatrix, getQuery, getRequest, getResponse, handleHead, handleOptions, setContext, setRequest, setResponse, updateAllowedMethods |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessTokenResource
public AccessTokenResource(Context context,
Request request,
Response response)
- Constructor.
- Parameters:
context
- The parent context.request
- The current request.response
- The current response.
acceptRepresentation
public void acceptRepresentation(Representation entity)
throws ResourceException
- Overrides:
acceptRepresentation
in class Resource
- Throws:
ResourceException
allowPost
public boolean allowPost()
- Overrides:
allowPost
in class Resource
represent
public Representation represent(Variant variant)
throws ResourceException
- Overrides:
represent
in class Resource
- Throws:
ResourceException
Copyright © 2005-2008 Noelios Technologies.