Package | Description |
---|---|
org.restlet.engine.local | |
org.restlet.ext.javamail | |
org.restlet.ext.odata | |
org.restlet.ext.sip | |
org.restlet.ext.wadl | |
org.restlet.resource |
Modifier and Type | Method and Description |
---|---|
Representation |
DirectoryServerResource.delete() |
void |
DirectoryServerResource.doInit()
This initialization method aims at answering the following questions:
does this request target a directory? does this request target a directory, with an index file? should this request be redirected (target is a directory with no trailing "/")? does this request target a file? The following constraints must be taken into account: the underlying helper may not support content negotiation and be able to return the list of possible variants of the target file (e.g. |
protected Representation |
DirectoryServerResource.get() |
Representation |
DirectoryServerResource.put(Representation entity) |
Modifier and Type | Method and Description |
---|---|
void |
TriggerResource.acceptMails(Representation entity)
Handles POST requests.
|
protected void |
TriggerResource.callTarget(Resolver<String> resolver)
Requests the target resource.
|
protected void |
TriggerResource.deleteMail(String mailIdentifier)
Deletes a mail after it has been processed.
|
protected void |
TriggerResource.doInit() |
protected Representation |
TriggerResource.getMail(String identifier)
Get the mail representation according to its identifier.
|
protected List<String> |
TriggerResource.getMailIdentifiers()
Returns the list of identifiers for the mails in the inbox
|
protected Reference |
TriggerResource.getMailRef(String identifier)
Returns the reference of a mail according to its identifier.
|
protected ChallengeResponse |
TriggerResource.getTargetChallengeResponse(Resolver<String> resolver)
Returns the authentication data sent by client to the target according to
the a list of properties.
|
protected Reference |
TriggerResource.getTargetRef(Resolver<String> resolver)
Returns the reference of the target according to the a list of
properties.
|
Modifier and Type | Method and Description |
---|---|
void |
Service.deleteEntity(Object entity)
Deletes an entity.
|
void |
Service.deleteEntity(String entitySubpath)
Deletes an entity.
|
void |
Service.deleteLink(Object source,
String sourceProperty,
Object target)
Removes the association between a source entity and a target entity via
the given property name.
|
Representation |
Service.getValue(Object entity)
Returns the binary representation of the given media resource.
|
Representation |
Service.getValue(Object entity,
List<Preference<MediaType>> acceptedMediaTypes)
Returns the binary representation of the given media resource.
|
Representation |
Service.getValue(Object entity,
MediaType mediaType)
Returns the binary representation of the given media resource.
|
Representation |
Service.invokeComplex(String service,
Series<Parameter> parameters)
Invokes a service operation and return the raw representation sent back
by the service.
|
String |
Service.invokeSimple(String service,
Series<Parameter> parameters)
Invokes a service operation and return the String value sent back by the
service.
|
void |
Service.setValue(Object entity,
Representation blob)
Sets the value of the given media entry link.
|
Modifier and Type | Method and Description |
---|---|
void |
SipClientResource.ack()
Deprecated.
Confirms that the client has received a final response to an INVITE
request.
|
void |
SipClientResource.ack(Representation representation)
Deprecated.
Confirms that the client has received a final response to an INVITE
request.
|
Representation |
SipClientResource.bye()
Deprecated.
Indicates to the server that the user agent wishes to release the call.
|
void |
SipClientResource.cancel()
Deprecated.
Cancels a pending request with the same Call-ID, To, From and CSeq
(sequence number only) header field values.
|
Representation |
SipClientResource.info()
Deprecated.
Communicating mid-session signaling information along the signaling path
for the call.
|
Representation |
SipClientResource.info(Representation representation)
Deprecated.
Communicating mid-session signaling information along the signaling path
for the call.
|
Representation |
SipClientResource.invite()
Deprecated.
Indicates that the user or service is being invited to participate in a
session.
|
Representation |
SipClientResource.invite(Representation representation)
Deprecated.
Indicates that the user or service is being invited to participate in a
session.
|
Representation |
SipClientResource.notify(Representation representation)
Deprecated.
Informs subscribers of changes in state to which the subscriber has a
subscription.
|
Representation |
SipClientResource.options()
Deprecated.
Queries a SIP server as to its capabilities.
|
void |
SipClientResource.publish()
Deprecated.
Creates, modifies, and removes event state associated with an
address-of-record.
|
void |
SipClientResource.publish(Representation representation)
Deprecated.
Creates, modifies, and removes event state associated with an
address-of-record.
|
void |
SipClientResource.refer()
Deprecated.
Indicates that the target recipient should contact a third party using
the contact information provided in the request.
|
void |
SipClientResource.register()
Deprecated.
Registers the address listed in the To header field with a SIP server.
|
void |
SipClientResource.register(Address to)
Deprecated.
Registers the address listed in the To header field with a SIP server.
|
void |
SipClientResource.subscribe()
Deprecated.
Requests current state and state updates from a remote node.
|
void |
SipClientResource.subscribe(Representation representation)
Deprecated.
Requests current state and state updates from a remote node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WadlServerResource.doInit() |
Modifier and Type | Method and Description |
---|---|
Representation |
ClientResource.delete()
Deletes the target resource and all its representations.
|
protected Representation |
ServerResource.delete()
Deletes the resource and all its representations.
|
<T> T |
ClientResource.delete(Class<T> resultClass)
Deletes the target resource and all its representations.
|
Representation |
ClientResource.delete(MediaType mediaType)
Deletes the target resource and all its representations.
|
protected Representation |
ServerResource.delete(Variant variant)
Deletes the resource and all its representations.
|
protected Representation |
ServerResource.doConditionalHandle()
Handles a call by first verifying the optional request conditions and
continue the processing if possible.
|
protected Representation |
ServerResource.doHandle()
Effectively handles a call without content negotiation of the response
entity.
|
protected Representation |
ServerResource.doHandle(Variant variant)
Effectively handles a call with content negotiation of the response
entity.
|
protected void |
Resource.doInit()
Set-up method that can be overridden in order to initialize the state of
the resource.
|
protected Representation |
ServerResource.doNegotiatedHandle()
Effectively handles a call with content negotiation of the response
entity.
|
protected void |
ClientResource.doRelease()
Releases the resource by stopping any connector automatically created and
associated to the "next" property (see
ClientResource.getNext() method. |
protected void |
Resource.doRelease()
Clean-up method that can be overridden in order to release the state of
the resource.
|
Representation |
ClientResource.get()
Represents the resource using content negotiation to select the best
variant based on the client preferences.
|
protected Representation |
ServerResource.get()
Returns a full representation.
|
<T> T |
ClientResource.get(Class<T> resultClass)
Represents the resource in the given object class.
|
Representation |
ClientResource.get(MediaType mediaType)
Represents the resource using a given media type.
|
protected Representation |
ServerResource.get(Variant variant)
Returns a full representation for a given variant.
|
ClientResource |
ClientResource.getChild(Reference relativeRef)
Returns the child resource defined by its URI relatively to the current
resource.
|
<T> T |
ClientResource.getChild(Reference relativeRef,
Class<? extends T> resourceInterface)
Wraps the child client resource to proxy calls to the given Java
interface into Restlet method calls.
|
ClientResource |
ClientResource.getChild(String relativeUri)
Returns the child resource defined by its URI relatively to the current
resource.
|
<T> T |
ClientResource.getChild(String relativeUri,
Class<? extends T> resourceInterface)
Wraps the child client resource to proxy calls to the given Java
interface into Restlet method calls.
|
protected RepresentationInfo |
ServerResource.getInfo()
Returns information about the resource's representation.
|
protected RepresentationInfo |
ServerResource.getInfo(Variant variant)
Returns information about the resource's representation.
|
ClientResource |
ClientResource.getParent()
Returns the parent resource.
|
<T> T |
ClientResource.getParent(Class<? extends T> resourceInterface)
Wraps the parent client resource to proxy calls to the given Java
interface into Restlet method calls.
|
protected <T> T |
ClientResource.handle(Method method,
Class<T> resultClass)
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.
|
Representation |
ClientResource.head()
Represents the resource using content negotiation to select the best
variant based on the client preferences.
|
protected Representation |
ServerResource.head()
Returns a representation whose metadata will be returned to the client.
|
Representation |
ClientResource.head(MediaType mediaType)
Represents the resource using a given media type.
|
protected Representation |
ServerResource.head(Variant variant)
Returns a representation whose metadata will be returned to the client.
|
Representation |
ClientResource.options()
Describes the resource using content negotiation to select the best
variant based on the client preferences.
|
protected Representation |
ServerResource.options()
Indicates the communication options available for this resource.
|
<T> T |
ClientResource.options(Class<T> resultClass)
Describes the resource using a given media type.
|
Representation |
ClientResource.options(MediaType mediaType)
Describes the resource using a given media type.
|
protected Representation |
ServerResource.options(Variant variant)
Indicates the communication options available for this resource.
|
Representation |
ClientResource.patch(Object entity)
Patches a resource with the given object as delta state.
|
<T> T |
ClientResource.patch(Object entity,
Class<T> resultClass)
Patches a resource with the given object as delta state.
|
Representation |
ClientResource.patch(Object entity,
MediaType mediaType)
Patches a resource with the given object as delta state.
|
Representation |
ClientResource.patch(Representation entity)
Patches a resource with the given representation as delta state.
|
protected Representation |
ServerResource.patch(Representation entity)
Apply a patch entity to the current representation of the resource
retrieved by calling
ServerResource.get() . |
protected Representation |
ServerResource.patch(Representation entity,
Variant variant)
Apply a patch entity to the current representation of the resource
retrieved by calling
ServerResource.get() . |
Representation |
ClientResource.post(Object entity)
Posts an object entity.
|
<T> T |
ClientResource.post(Object entity,
Class<T> resultClass)
Posts an object entity.
|
Representation |
ClientResource.post(Object entity,
MediaType mediaType)
Posts an object entity.
|
Representation |
ClientResource.post(Representation entity)
Posts a representation.
|
protected Representation |
ServerResource.post(Representation entity)
Posts a representation to the resource at the target URI reference.
|
protected Representation |
ServerResource.post(Representation entity,
Variant variant)
Posts a representation to the resource at the target URI reference.
|
Representation |
ClientResource.put(Object entity)
Puts an object entity.
|
<T> T |
ClientResource.put(Object entity,
Class<T> resultClass)
Puts an object entity.
|
Representation |
ClientResource.put(Object entity,
MediaType mediaType)
Puts an object entity.
|
Representation |
ClientResource.put(Representation entity)
Creates or updates a resource with the given representation as new state
to be stored.
|
protected Representation |
ServerResource.put(Representation entity)
Creates or updates a resource with the given representation as new state
to be stored.
|
protected Representation |
ServerResource.put(Representation representation,
Variant variant)
Creates or updates a resource with the given representation as new state
to be stored.
|
<T> T |
Resource.toObject(Representation source,
Class<T> target)
Converts a representation into a Java object.
|
Copyright © 2005–2017. All rights reserved.