|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.Handler
org.restlet.resource.Resource
com.noelios.restlet.ext.oauth.AccessTokenResource
public class AccessTokenResource
An OAuth Access Token.
Constructor Summary | |
---|---|
AccessTokenResource(Context context,
Request request,
Response response)
Constructor. |
Method Summary | |
---|---|
void |
acceptRepresentation(Representation entity)
|
boolean |
allowPost()
|
Representation |
represent(Variant variant)
|
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 |
Constructor Detail |
---|
public AccessTokenResource(Context context, Request request, Response response)
context
- The parent context.request
- The current request.response
- The current response.Method Detail |
---|
public void acceptRepresentation(Representation entity) throws ResourceException
acceptRepresentation
in class Resource
ResourceException
public boolean allowPost()
allowPost
in class Resource
public Representation represent(Variant variant) throws ResourceException
represent
in class Resource
ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |