|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Method | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.data | Information exchanged by components. |
org.restlet.resource | Client and server resource classes. |
org.restlet.security | Classes related to security. |
org.restlet.util | Various utility classes. |
Uses of Method in org.restlet |
---|
Methods in org.restlet that return Method | |
---|---|
Method |
Request.getMethod()
Returns the method. |
Methods in org.restlet that return types with arguments of type Method | |
---|---|
Set<Method> |
Response.getAllowedMethods()
Returns the modifiable set of methods allowed on the requested resource. |
Methods in org.restlet with parameters of type Method | |
---|---|
void |
Request.setMethod(Method method)
Sets the method called. |
Method parameters in org.restlet with type arguments of type Method | |
---|---|
void |
Response.setAllowedMethods(Set<Method> allowedMethods)
Sets the set of methods allowed on the requested resource. |
Constructors in org.restlet with parameters of type Method | |
---|---|
Request(Method method,
Reference resourceRef)
Constructor. |
|
Request(Method method,
Reference resourceRef,
Representation entity)
Constructor. |
|
Request(Method method,
String resourceUri)
Constructor. |
|
Request(Method method,
String resourceUri,
Representation entity)
Constructor. |
Uses of Method in org.restlet.data |
---|
Fields in org.restlet.data declared as Method | |
---|---|
static Method |
Method.ALL
Pseudo-method use to match all methods. |
static Method |
Method.CONNECT
Used with a proxy that can dynamically switch to being a tunnel. |
static Method |
Method.COPY
Creates a duplicate of the source resource, identified by the Request-URI, in the destination resource, identified by the URI in the Destination header. |
static Method |
Method.DELETE
Requests that the origin server deletes the resource identified by the request URI. |
static Method |
Method.GET
Retrieves whatever information (in the form of an entity) that is identified by the request URI. |
static Method |
Method.HEAD
Identical to GET except that the server must not return a message body in the response but only the message header. |
static Method |
Method.LOCK
Used to take out a lock of any access type on the resource identified by the request URI. |
static Method |
Method.MKCOL
MKCOL creates a new collection resource at the location specified by the Request URI. |
static Method |
Method.MOVE
Logical equivalent of a copy, followed by consistency maintenance processing, followed by a delete of the source where all three actions are performed atomically. |
static Method |
Method.OPTIONS
Requests for information about the communication options available on the request/response chain identified by the URI. |
static Method |
Method.POST
Requests that the origin server accepts the entity enclosed in the request as a new subordinate of the resource identified by the request URI. |
static Method |
Method.PROPFIND
Retrieves properties defined on the resource identified by the request URI. |
static Method |
Method.PROPPATCH
Processes instructions specified in the request body to set and/or remove properties defined on the resource identified by the request URI. |
static Method |
Method.PUT
Requests that the enclosed entity be stored under the supplied request URI. |
static Method |
Method.TRACE
Used to invoke a remote, application-layer loop-back of the request message. |
static Method |
Method.UNLOCK
Removes the lock identified by the lock token from the request URI, and all other resources included in the lock. |
Methods in org.restlet.data that return Method | |
---|---|
static Method |
Method.valueOf(String name)
Returns the method associated to a given method name. |
Methods in org.restlet.data with parameters of type Method | |
---|---|
int |
Method.compareTo(Method o)
Compares this method to another. |
Status |
Conditions.getStatus(Method method,
boolean entityExists,
Tag tag,
Date modificationDate)
Returns the conditional status of a variant using a given method. |
Status |
Conditions.getStatus(Method method,
RepresentationInfo representationInfo)
Returns the conditional status of a variant using a given method. |
static void |
Method.register(Method method)
Adds a new Method to the list of registered methods. |
Method parameters in org.restlet.data with type arguments of type Method | |
---|---|
static void |
Method.sort(List<Method> methods)
Sorts the given list of methods by name. |
Uses of Method in org.restlet.resource |
---|
Methods in org.restlet.resource that return Method | |
---|---|
Method |
Resource.getMethod()
Returns the method. |
Methods in org.restlet.resource that return types with arguments of type Method | |
---|---|
Set<Method> |
Resource.getAllowedMethods()
Returns the set of methods allowed for the current client by the resource. |
Methods in org.restlet.resource with parameters of type Method | ||
---|---|---|
protected List<Variant> |
ServerResource.getVariants(Method method)
Returns a modifiable list of exposed variants for the given method. |
|
protected Representation |
ClientResource.handle(Method method)
Handles the call by cloning the prototype request, setting the method and entity. |
|
protected
|
ClientResource.handle(Method method,
Class<T> resultClass)
Handles the call by cloning the prototype request, setting the method and entity. |
|
protected Representation |
ClientResource.handle(Method method,
MediaType mediaType)
Handles the call by cloning the prototype request, setting the method and entity. |
|
protected
|
ClientResource.handle(Method method,
Object entity,
Class<T> resultClass)
Handles an object entity. |
|
protected Representation |
ClientResource.handle(Method method,
Representation entity)
Handles the call by cloning the prototype request, setting the method and entity. |
|
protected Representation |
ClientResource.handle(Method method,
Representation entity,
ClientInfo clientInfo)
Handles the call by cloning the prototype request, setting the method and entity. |
|
protected Representation |
ClientResource.handle(Method method,
Representation entity,
MediaType mediaType)
Handles the call by cloning the prototype request, setting the method and entity. |
|
void |
ClientResource.setMethod(Method method)
Sets the method called. |
Method parameters in org.restlet.resource with type arguments of type Method | |
---|---|
void |
ServerResource.setAllowedMethods(Set<Method> allowedMethods)
Sets the set of methods allowed on the requested resource. |
Constructors in org.restlet.resource with parameters of type Method | |
---|---|
ClientResource(Context context,
Method method,
Reference reference)
Constructor. |
|
ClientResource(Context context,
Method method,
String uri)
Constructor. |
|
ClientResource(Context context,
Method method,
URI uri)
Constructor. |
|
ClientResource(Method method,
Reference reference)
Constructor. |
|
ClientResource(Method method,
String uri)
Constructor. |
|
ClientResource(Method method,
URI uri)
Constructor. |
Uses of Method in org.restlet.security |
---|
Methods in org.restlet.security that return types with arguments of type Method | |
---|---|
List<Method> |
MethodAuthorizer.getAnonymousMethods()
Returns the modifiable list of methods authorized for anonymous users. |
List<Method> |
MethodAuthorizer.getAuthenticatedMethods()
Returns the modifiable list of methods authorized for authenticated users. |
Method parameters in org.restlet.security with type arguments of type Method | |
---|---|
void |
MethodAuthorizer.setAnonymousMethods(List<Method> anonymousMethods)
Sets the modifiable list of methods authorized for anonymous users. |
void |
MethodAuthorizer.setAuthenticatedMethods(List<Method> authenticatedMethods)
Sets the modifiable list of methods authorized for authenticated users. |
Uses of Method in org.restlet.util |
---|
Methods in org.restlet.util that return Method | |
---|---|
Method |
WrapperRequest.getMethod()
Returns the method. |
Methods in org.restlet.util that return types with arguments of type Method | |
---|---|
Set<Method> |
WrapperResponse.getAllowedMethods()
Returns the set of methods allowed on the requested resource. |
Methods in org.restlet.util with parameters of type Method | |
---|---|
void |
WrapperRequest.setMethod(Method method)
Sets the method called. |
Method parameters in org.restlet.util with type arguments of type Method | |
---|---|
void |
WrapperResponse.setAllowedMethods(Set<Method> allowedMethods)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |