org.restlet.ext.oauth
Class RequestTokenResource
java.lang.Object
org.restlet.Handler
org.restlet.resource.Resource
org.restlet.ext.oauth.RequestTokenResource
public class RequestTokenResource
- extends Resource
Get a OAuth request token.
- Author:
- Adam Rosien
| Methods inherited from class org.restlet.resource.Resource |
allowDelete, allowGet, allowPut, getPreferredVariant, getVariants, handleDelete, handleGet, handlePost, handlePut, init, isAvailable, isModifiable, isNegotiateContent, isReadable, 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 |
RequestTokenResource
public RequestTokenResource(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.