Uses of Class
org.restlet.client.data.Method
-
Packages that use Method Package Description org.restlet.client Core classes of the API.org.restlet.client.data Information exchanged by components.org.restlet.client.resource Client and server resource classes.org.restlet.client.util Various utility classes.org.restlet.rebind Deferred binding logic for transparent serialization. -
-
Uses of Method in org.restlet.client
Methods in org.restlet.client that return Method Modifier and Type Method Description MethodRequest. getAccessControlRequestMethod()Returns the method the client is willing to use in future request to this resource.MethodRequest. getMethod()Returns the method.Methods in org.restlet.client that return types with arguments of type Method Modifier and Type Method Description java.util.Set<Method>Response. getAccessControlAllowMethods()Returns the modifiable set of methods allowed by the actual request on the current resource when used as part of a response to a preflight CORS request
Note that when used with HTTP connectors, this property maps to the "Access-Control-Allow-Methods" header.java.util.Set<Method>Response. getAllowedMethods()Returns the modifiable set of methods allowed on the requested resource.Methods in org.restlet.client with parameters of type Method Modifier and Type Method Description voidRequest. setAccessControlRequestMethod(Method accessControlRequestMethod)Sets the method the client is willing to use in future request to this resource.voidRequest. setMethod(Method method)Sets the method called.Method parameters in org.restlet.client with type arguments of type Method Modifier and Type Method Description voidResponse. setAccessControlAllowMethods(java.util.Set<Method> accessControlAllowMethods)Sets the set of methods allowed by the actual request on the current resource when used as part of a response to a preflight CORS request.
Note that when used with HTTP connectors, this property maps to the "Access-Control-Allow-Methods" header.voidResponse. setAllowedMethods(java.util.Set<Method> allowedMethods)Sets the set of methods allowed on the requested resource.Constructors in org.restlet.client with parameters of type Method Constructor Description Request(Method method, java.lang.String resourceUri)Constructor.Request(Method method, java.lang.String resourceUri, Representation entity)Constructor.Request(Method method, Reference resourceRef)Constructor.Request(Method method, Reference resourceRef, Representation entity)Constructor. -
Uses of Method in org.restlet.client.data
Fields in org.restlet.client.data declared as Method Modifier and Type Field Description static MethodMethod. ALLPseudo-method use to match all methods.static MethodMethod. CONNECTUsed with a proxy that can dynamically switch to being a tunnel.static MethodMethod. COPYCreates a duplicate of the source resource, identified by the Request-URI, in the destination resource, identified by the URI in the Destination header.static MethodMethod. DELETERequests that the origin server deletes the resource identified by the request URI.static MethodMethod. GETRetrieves whatever information (in the form of an entity) that is identified by the request URI.static MethodMethod. HEADIdentical to GET except that the server must not return a message body in the response but only the message header.static MethodMethod. LOCKUsed to take out a lock of any access type on the resource identified by the request URI.static MethodMethod. MKCOLMKCOL creates a new collection resource at the location specified by the Request URI.static MethodMethod. MOVELogical equivalent of a copy, followed by consistency maintenance processing, followed by a delete of the source where all three actions are performed atomically.static MethodMethod. OPTIONSRequests for information about the communication options available on the request/response chain identified by the URI.static MethodMethod. PATCHRequests that the origin server applies partial modifications contained in the entity enclosed in the request to the resource identified by the request URI.static MethodMethod. POSTRequests that the origin server accepts the entity enclosed in the request as a new subordinate of the resource identified by the request URI.static MethodMethod. PROPFINDRetrieves properties defined on the resource identified by the request URI.static MethodMethod. PROPPATCHProcesses instructions specified in the request body to set and/or remove properties defined on the resource identified by the request URI.static MethodMethod. PUTRequests that the enclosed entity be stored under the supplied request URI.static MethodMethod. TRACEUsed to invoke a remote, application-layer loop-back of the request message.static MethodMethod. UNLOCKRemoves the lock identified by the lock token from the request URI, and all other resources included in the lock.Methods in org.restlet.client.data that return Method Modifier and Type Method Description static MethodMethod. valueOf(java.lang.String name)Returns the method associated to a given method name.Methods in org.restlet.client.data with parameters of type Method Modifier and Type Method Description intMethod. compareTo(Method o)Compares this method to another.StatusConditions. getStatus(Method method, boolean entityExists, Tag tag, java.util.Date modificationDate)Returns the conditional status of a variant using a given method.StatusConditions. getStatus(Method method, RepresentationInfo representationInfo)Returns the conditional status of a variant using a given method.static voidMethod. register(Method method)Adds a new Method to the list of registered methods.Method parameters in org.restlet.client.data with type arguments of type Method Modifier and Type Method Description static voidMethod. sort(java.util.List<Method> methods)Sorts the given list of methods by name. -
Uses of Method in org.restlet.client.resource
Methods in org.restlet.client.resource that return Method Modifier and Type Method Description MethodResource. getMethod()Returns the method.Methods in org.restlet.client.resource that return types with arguments of type Method Modifier and Type Method Description java.util.Set<Method>Resource. getAllowedMethods()Returns the set of methods allowed for the current client by the resource.Methods in org.restlet.client.resource with parameters of type Method Modifier and Type Method Description protected RepresentationClientResource. handle(Method method)Handles the call by cloning the prototype request, setting the method and entity.protected RepresentationClientResource. handle(Method method, MediaType mediaType)Handles the call by cloning the prototype request, setting the method and entity.protected RepresentationClientResource. handle(Method method, Representation entity)Handles the call by cloning the prototype request, setting the method and entity.protected RepresentationClientResource. handle(Method method, Representation entity, ClientInfo clientInfo)Handles the call by cloning the prototype request, setting the method and entity.protected RepresentationClientResource. handle(Method method, Representation entity, MediaType mediaType)Handles the call by cloning the prototype request, setting the method and entity.voidClientResource. setMethod(Method method)Sets the method called.Constructors in org.restlet.client.resource with parameters of type Method Constructor Description ClientResource(Context context, Method method, java.lang.String uri)Constructor.ClientResource(Context context, Method method, Reference reference)Constructor.ClientResource(Method method, java.lang.String uri)Constructor.ClientResource(Method method, Reference reference)Constructor. -
Uses of Method in org.restlet.client.util
Methods in org.restlet.client.util that return Method Modifier and Type Method Description MethodWrapperRequest. getAccessControlRequestMethod()Returns the access control request method of the target resource.MethodWrapperRequest. getMethod()Returns the method.Methods in org.restlet.client.util that return types with arguments of type Method Modifier and Type Method Description java.util.Set<Method>WrapperResponse. getAllowedMethods()Returns the set of methods allowed on the requested resource.Methods in org.restlet.client.util with parameters of type Method Modifier and Type Method Description voidWrapperRequest. setAccessControlRequestMethod(Method accessControlRequestMethod)Sets the access control request method of the target resource.voidWrapperRequest. setMethod(Method method)Sets the method called.Method parameters in org.restlet.client.util with type arguments of type Method Modifier and Type Method Description voidWrapperResponse. setAllowedMethods(java.util.Set<Method> allowedMethods) -
Uses of Method in org.restlet.rebind
Methods in org.restlet.rebind that return Method Modifier and Type Method Description MethodAnnotationInfo. getRestletMethod()Returns the matching Restlet method.Methods in org.restlet.rebind with parameters of type Method Modifier and Type Method Description static AnnotationInfoAnnotationUtils. getAnnotation(java.util.List<AnnotationInfo> annotations, Method restletMethod)Returns the first annotation descriptor matching the given Restlet method.Constructors in org.restlet.rebind with parameters of type Method Constructor Description AnnotationInfo(Method restletMethod, java.lang.reflect.Method javaMethod, java.lang.String value)Constructor.
-