Modifier and Type | Method and Description |
---|---|
Method |
Request.getAccessControlRequestMethod()
Returns the method the client is willing to use in future request to this
resource.
|
Method |
Request.getMethod()
Returns the method.
|
Modifier and Type | Method and Description |
---|---|
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. |
Set<Method> |
Response.getAllowedMethods()
Returns the modifiable set of methods allowed on the requested resource.
|
Modifier and Type | Method and Description |
---|---|
void |
Request.setAccessControlRequestMethod(Method accessControlRequestMethod)
Sets the method the client is willing to use in future request to this
resource.
|
void |
Request.setMethod(Method method)
Sets the method called.
|
Modifier and Type | Method and Description |
---|---|
void |
Response.setAccessControlAllowMethods(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. |
void |
Response.setAllowedMethods(Set<Method> allowedMethods)
Sets the set of methods allowed on the requested resource.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Field and Description |
---|---|
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.PATCH
Requests that the origin server applies partial modifications contained
in the entity enclosed in the request to the resource identified by the
request 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.
|
Modifier and Type | Method and Description |
---|---|
static Method |
Method.valueOf(String name)
Returns the method associated to a given method name.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
Method.sort(List<Method> methods)
Sorts the given list of methods by name.
|
Modifier and Type | Method and Description |
---|---|
Method |
HttpRequest.getAccessControlRequestMethod() |
Modifier and Type | Method and Description |
---|---|
void |
HttpRequest.setAccessControlRequestMethod(Method accessControlRequestMethod) |
Modifier and Type | Method and Description |
---|---|
Method |
MethodReader.readValue() |
Modifier and Type | Method and Description |
---|---|
MethodWriter |
MethodWriter.append(Method method) |
Modifier and Type | Method and Description |
---|---|
static void |
MethodReader.addValues(Header header,
Collection<Method> collection)
Adds values to the given collection.
|
static String |
MethodWriter.write(Set<Method> methods)
Writes a set of methods with a comma separator.
|
Modifier and Type | Method and Description |
---|---|
protected List<Variant> |
DirectoryServerResource.getVariants(Method method)
Returns the list of variants for the given method.
|
Modifier and Type | Method and Description |
---|---|
Method |
MethodAnnotationInfo.getRestletMethod()
Returns the matching Restlet method.
|
protected Method |
AnnotationUtils.getRestletMethod(Annotation annotation,
Annotation methodAnnotation)
Returns an instance of
Method according to the given annotations. |
Modifier and Type | Method and Description |
---|---|
MethodAnnotationInfo |
AnnotationUtils.getMethodAnnotation(List<AnnotationInfo> annotations,
Method restletMethod,
Form query,
Representation entity,
MetadataService metadataService,
ConverterService converterService)
Returns the first annotation descriptor matching the given Restlet
method.
|
boolean |
MethodAnnotationInfo.isCompatible(Method restletMethod,
Form queryParams,
Representation requestEntity,
MetadataService metadataService,
ConverterService converterService)
Indicates if the annotated method described is compatible with the given
parameters.
|
Constructor and Description |
---|
MethodAnnotationInfo(Class<?> javaClass,
Method restletMethod,
Method javaMethod,
String annotationValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static String |
AwsUtils.getQuerySignature(Method method,
Reference resourceRef,
List<Parameter> params,
char[] secret)
Returns the AWS SimpleDB authentication compatible signature for the
given request and secret.
|
static String |
AwsUtils.getQueryStringToSign(Method method,
Reference resourceRef,
List<Parameter> params)
Returns the SimpleDB string to sign.
|
Modifier and Type | Method and Description |
---|---|
Method |
TriggerResource.getTargetMethod()
Returns the default target method.
|
protected Method |
TriggerResource.getTargetMethod(Resolver<String> resolver)
Returns the target method according to a list of properties.
|
Modifier and Type | Method and Description |
---|---|
void |
TriggerResource.setTargetMethod(Method targetMethod)
Sets the default target method.
|
Modifier and Type | Method and Description |
---|---|
Method |
HttpInboundRequest.getAccessControlRequestMethod() |
Modifier and Type | Method and Description |
---|---|
void |
HttpInboundRequest.setAccessControlRequestMethod(Method accessControlRequestMethod) |
Modifier and Type | Method and Description |
---|---|
Method |
FunctionImport.getMethod()
Returns the method used to invoke this function.
|
Modifier and Type | Method and Description |
---|---|
void |
FunctionImport.setMethod(Method method)
Sets the method used to invoke this function.
|
Constructor and Description |
---|
RdfClientResource(Context context,
Method method,
Reference reference)
Constructor.
|
RdfClientResource(Context context,
Method method,
String uri)
Constructor.
|
RdfClientResource(Context context,
Method method,
URI uri)
Constructor.
|
RdfClientResource(Method method,
Reference reference)
Constructor.
|
RdfClientResource(Method method,
String uri)
Constructor.
|
RdfClientResource(Method method,
URI uri)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
static Method |
SipMethod.ACK
Deprecated.
Confirms that the client has received a final response to an INVITE
request.
|
static Method |
SipMethod.BYE
Deprecated.
Terminates a call and can be sent by either the caller or the callee.
|
static Method |
SipMethod.CANCEL
Deprecated.
Cancels any pending request.
|
static Method |
SipMethod.INFO
Deprecated.
Allow for the carrying of session related control information that is
generated during a session.
|
static Method |
SipMethod.INVITE
Deprecated.
Indicates a client is being invited to participate in a call session.
|
static Method |
SipMethod.NOTIFY
Deprecated.
Sent to inform subscribers of changes in state to which the subscriber
has a subscription.
|
static Method |
SipMethod.OPTIONS
Deprecated.
Queries the capabilities of servers.
|
static Method |
SipMethod.PUBLISH
Deprecated.
Publishes event state.
|
static Method |
SipMethod.REFER
Deprecated.
The recipient should refer to a resource provided in the Refer-To header
field of the request.
|
static Method |
SipMethod.REGISTER
Deprecated.
Registers the address listed in the To header field with a SIP server.
|
static Method |
SipMethod.SUBSCRIBE
Deprecated.
Used to request current state and state updates from a remote node.
|
Modifier and Type | Method and Description |
---|---|
static Method |
SipMethod.valueOf(String name)
Deprecated.
Returns the method associated to a given method name.
|
Constructor and Description |
---|
SipClientResource(Context context,
Method method,
Reference reference)
Deprecated.
Constructor.
|
SipClientResource(Context context,
Method method,
String uri)
Deprecated.
Constructor.
|
SipClientResource(Context context,
Method method,
URI uri)
Deprecated.
Constructor.
|
SipClientResource(Method method,
Reference reference)
Deprecated.
Constructor.
|
SipClientResource(Method method,
String uri)
Deprecated.
Constructor.
|
SipClientResource(Method method,
URI uri)
Deprecated.
Constructor.
|
SipRequest(Method method,
Reference resourceRef)
Deprecated.
Constructor.
|
SipRequest(Method method,
Reference resourceRef,
Representation entity)
Deprecated.
Constructor.
|
SipRequest(Method method,
String resourceUri)
Deprecated.
Constructor.
|
SipRequest(Method method,
String resourceUri,
Representation entity)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Method |
MethodInfo.getName()
Returns the name of the method.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WadlServerResource.canDescribe(Method method)
Indicates if the given method exposes its WADL description.
|
protected void |
WadlServerResource.describeMethod(Method method,
MethodInfo info)
Returns a WADL description of the given method.
|
void |
MethodInfo.setName(Method name)
Sets the name of the method.
|
Modifier and Type | Method and Description |
---|---|
Method |
Resource.getMethod()
Returns the method.
|
Modifier and Type | Method and Description |
---|---|
Set<Method> |
Resource.getAllowedMethods()
Returns the set of methods allowed for the current client by the
resource.
|
Modifier and Type | Method and Description |
---|---|
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 <T> T |
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 <T> T |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerResource.setAllowedMethods(Set<Method> allowedMethods)
Sets the set of methods allowed on the requested resource.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Method |
WrapperRequest.getAccessControlRequestMethod()
Returns the access control request method of the target resource.
|
Method |
WrapperRequest.getMethod()
Returns the method.
|
Modifier and Type | Method and Description |
---|---|
Set<Method> |
WrapperResponse.getAllowedMethods()
Returns the set of methods allowed on the requested resource.
|
Modifier and Type | Method and Description |
---|---|
void |
WrapperRequest.setAccessControlRequestMethod(Method accessControlRequestMethod)
Sets the access control request method of the target resource.
|
void |
WrapperRequest.setMethod(Method method)
Sets the method called.
|
Modifier and Type | Method and Description |
---|---|
void |
WrapperResponse.setAllowedMethods(Set<Method> allowedMethods) |
Copyright © 2005–2018. All rights reserved.