Uses of Class
org.restlet.resource.ResourceException

Packages that use ResourceException
org.restlet.resource Client and server resource classes. 
 

Uses of ResourceException in org.restlet.resource
 

Methods in org.restlet.resource that throw ResourceException
protected  Representation ServerResource.delete()
          Deletes the resource and all its representations.
 Representation ClientResource.delete()
          Deletes the target 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 Resource.doRelease()
          Clean-up method that can be overridden in order to release the state of the resource.
protected  void ClientResource.doRelease()
          Releases the resource by stopping any connector automatically created and associated to the "next" property (see ClientResource.getNext() method.
protected  Representation ServerResource.get()
          Returns a full representation.
 Representation ClientResource.get()
          Represents the resource using content negotiation to select the best variant based on the client preferences.
<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.
protected  Representation ServerResource.head()
          Returns a representation whose metadata will be returned to the client.
 Representation ClientResource.head()
          Represents the resource using content negotiation to select the best variant based on the client preferences.
 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.
protected  Representation ServerResource.options()
          Indicates the communication options available for this resource.
 Representation ClientResource.options()
          Describes the resource using content negotiation to select the best variant based on the client preferences.
<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.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.
protected  Representation ServerResource.post(Representation entity)
          Posts a representation to the resource at the target URI reference.
 Representation ClientResource.post(Representation entity)
          Posts a representation.
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.
protected  Representation ServerResource.put(Representation entity)
          Creates or updates a resource with the given representation as new state to be stored.
 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 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-2013 Restlet.