Uses of Class
org.restlet.data.Response

Packages that use Response
org.restlet Core classes of the API. 
org.restlet.resource Common resource and representation data elements. 
org.restlet.service Service classes used by Applications and Containers. 
org.restlet.util Utility classes and interfaces used in the rest of the API. 
 

Uses of Response in org.restlet
 

Methods in org.restlet that return Response
 Response Uniform.delete(Reference resourceRef)
          Deletes the identified resource.
 Response Uniform.delete(String resourceUri)
          Deletes the identified resource.
 Response Uniform.get(Reference resourceRef)
          Gets the identified resource.
 Response Uniform.get(String resourceUri)
          Gets the identified resource.
 Response Uniform.handle(Request request)
          Handles a call.
 Response Uniform.head(Reference resourceRef)
          Gets the identified resource without its representation's content.
 Response Uniform.head(String resourceUri)
          Gets the identified resource without its representation's content.
 Response Uniform.options(Reference resourceRef)
          Gets the options for the identified resource.
 Response Uniform.options(String resourceUri)
          Gets the options for the identified resource.
 Response Uniform.post(Reference resourceRef, Representation entity)
          Posts a representation to the identified resource.
 Response Uniform.post(String resourceUri, Representation entity)
          Posts a representation to the identified resource.
 Response Uniform.put(Reference resourceRef, Representation entity)
          Puts a representation in the identified resource.
 Response Uniform.put(String resourceUri, Representation entity)
          Puts a representation in the identified resource.
 

Methods in org.restlet with parameters of type Response
 void Guard.accept(Request request, Response response)
          Accepts the call.
protected  void Transformer.afterHandle(Request request, Response response)
           
protected  void Filter.afterHandle(Request request, Response response)
          Allows filtering after processing by the next Restlet.
protected  void Transformer.beforeHandle(Request request, Response response)
           
protected  void Filter.beforeHandle(Request request, Response response)
          Allows filtering before processing by the next Restlet.
protected  void Route.beforeHandle(Request request, Response response)
          Allows filtering before its handling by the target Restlet.
 void Guard.challenge(Response response)
          Challenges the client by adding a challenge request to the response and by setting the status to CLIENT_ERROR_UNAUTHORIZED.
 Resource Finder.createResource(Request request, Response response)
          Creates a new instance of the resource class designated by the "targetClass" property.
 void Guard.doHandle(Request request, Response response)
          Handles the call by distributing it to the next Restlet.
protected  void Filter.doHandle(Request request, Response response)
          Handles the call by distributing it to the next Restlet.
 Resource Directory.findTarget(Request request, Response response)
          Finds the target Resource if available.
 Resource Finder.findTarget(Request request, Response response)
          Finds the target Resource if available.
 void Guard.forbid(Response response)
          Rejects the call due to a failed authentication or authorization.
protected  Route Router.getCustom(Request request, Response response)
          Returns the matched route according to a custom algorithm.
 Restlet Router.getNext(Request request, Response response)
          Returns the next Restlet if available.
protected  Reference Redirector.getTargetRef(Request request, Response response)
          Returns the target reference to redirect to.
 void Redirector.handle(Request request, Response response)
          Handles a call to a resource or a set of resources.
 void Finder.handle(Request request, Response response)
          Handles a call.
 void Filter.handle(Request request, Response response)
          Handles a call by first invoking the beforeHandle() method for pre-filtering, then distributing the call to the next Restlet via the doHandle() method.
 void Router.handle(Request request, Response response)
          Handles a call by invoking the next Restlet if it is available.
 void Server.handle(Request request, Response response)
          Handles a call.
 void Component.handle(Request request, Response response)
          Handles a call.
 void Client.handle(Request request, Response response)
          Handles a call.
abstract  void Uniform.handle(Request request, Response response)
          Handles a call.
 void Restlet.handle(Request request, Response response)
          Handles a call.
 void Application.handle(Request request, Response response)
          Handles a call.
protected  void Restlet.init(Request request, Response response)
          Initialize the Restlet by attempting to start it, unless it was already started.
protected  void Redirector.redirectDispatcher(Reference targetRef, Request request, Response response)
          Redirects a given call to a target reference.
 float Route.score(Request request, Response response)
          Returns the score for a given call (between 0 and 1.0).
 

Uses of Response in org.restlet.resource
 

Methods in org.restlet.resource that return Response
 Response Resource.getResponse()
          Returns the response.
 

Methods in org.restlet.resource with parameters of type Response
 void Resource.init(Context context, Request request, Response response)
          Initialize the resource with its context.
 void Resource.setResponse(Response response)
          Sets the response to update.
 

Constructors in org.restlet.resource with parameters of type Response
Resource(Context context, Request request, Response response)
          Constructor.
 

Uses of Response in org.restlet.service
 

Methods in org.restlet.service with parameters of type Response
 Representation StatusService.getRepresentation(Status status, Request request, Response response)
          Returns a representation for the given status.
In order to customize the default representation, this method can be overriden.
 Status StatusService.getStatus(Throwable throwable, Request request, Response response)
          Returns a status for a given exception or error.
 

Uses of Response in org.restlet.util
 

Subclasses of Response in org.restlet.util
 class WrapperResponse
          Request wrapper.
 

Methods in org.restlet.util that return Response
protected  Response WrapperResponse.getWrappedResponse()
          Returns the wrapped response.
 

Methods in org.restlet.util with parameters of type Response
abstract  Resource Engine.createDirectoryResource(Directory handler, Request request, Response response)
          Creates a directory resource.
 String Template.format(Request request, Response response)
          Creates a formatted string based on the given request.
 Route RouteList.getBest(Request request, Response response, float requiredScore)
          Returns the best route match for a given call.
 Route RouteList.getFirst(Request request, Response response, float requiredScore)
          Returns the first route match for a given call.
 Route RouteList.getLast(Request request, Response response, float requiredScore)
          Returns the last route match for a given call.
 Route RouteList.getNext(Request request, Response response, float requiredScore)
          Returns a next route match in a round robin mode for a given call.
 Route RouteList.getRandom(Request request, Response response, float requiredScore)
          Returns a random route match for a given call.
abstract  void Helper.handle(Request request, Response response)
          Handles a call.
 

Constructors in org.restlet.util with parameters of type Response
WrapperResponse(Response wrappedResponse)
          Constructor.
 



Copyright © 2005-2007 Noelios Technologies.