|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Response | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.data | Element of information handled by a component via a connector. |
org.restlet.resource | Common resource and representation data elements. |
org.restlet.service | Service classes used by applications and components. |
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(java.lang.String resourceUri)
Deletes the identified resource. |
Response |
Uniform.get(Reference resourceRef)
Gets the identified resource. |
Response |
Uniform.get(java.lang.String resourceUri)
Gets the identified resource. |
Response |
Handler.getResponse()
Returns the response. |
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(java.lang.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(java.lang.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(java.lang.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(java.lang.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 |
Filter.afterHandle(Request request,
Response response)
Allows filtering after processing by the next Restlet. |
protected void |
Transformer.afterHandle(Request request,
Response response)
|
protected int |
Route.beforeHandle(Request request,
Response response)
Allows filtering before its handling by the target Restlet. |
protected int |
Filter.beforeHandle(Request request,
Response response)
Allows filtering before processing by the next Restlet. |
protected int |
Transformer.beforeHandle(Request request,
Response response)
|
void |
Guard.challenge(Response response)
Deprecated. Use the Guard.challenge(Response, boolean) method instead. |
void |
Guard.challenge(Response response,
boolean stale)
Challenges the client by adding a challenge request to the response and by setting the status to CLIENT_ERROR_UNAUTHORIZED. |
Handler |
Finder.createResource(Request request,
Response response)
Deprecated. Use the Finder.createTarget(Request, Response) instead. |
Handler |
Finder.createTarget(java.lang.Class<? extends Handler> targetClass,
Request request,
Response response)
Creates a new instance of a given handler class. |
protected Handler |
Finder.createTarget(Request request,
Response response)
Creates a new instance of the handler class designated by the "targetClass" property. |
protected int |
Filter.doHandle(Request request,
Response response)
Handles the call by distributing it to the next Restlet. |
int |
Guard.doHandle(Request request,
Response response)
Handles the call by distributing it to the next Restlet. |
protected Handler |
Finder.findTarget(Request request,
Response response)
Finds the target Handler if available. |
Handler |
Directory.findTarget(Request request,
Response response)
Finds the target handler 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. |
abstract void |
Uniform.handle(Request request,
Response response)
Handles a call. |
void |
Application.handle(Request request,
Response response)
|
void |
Restlet.handle(Request request,
Response response)
Handles a call. |
void |
Client.handle(Request request,
Response response)
|
void |
Component.handle(Request request,
Response response)
|
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)
|
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 |
Finder.handle(Request request,
Response response)
Handles a call. |
void |
Redirector.handle(Request request,
Response response)
Handles a call by redirecting using the selected redirection mode. |
void |
Handler.init(Context context,
Request request,
Response response)
Initialize the resource with its context. |
protected void |
Restlet.init(Request request,
Response response)
Deprecated. Instead, make sure that you call the Restlet.handle(Request, Response) method from your Restlet
superclass. |
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). |
void |
Handler.setResponse(Response response)
Sets the response to update. |
Constructors in org.restlet with parameters of type Response | |
---|---|
Handler(Context context,
Request request,
Response response)
Normal constructor. |
Uses of Response in org.restlet.data |
---|
Methods in org.restlet.data that return Response | |
---|---|
static Response |
Response.getCurrent()
Returns the response associated to the current thread. |
Methods in org.restlet.data with parameters of type Response | |
---|---|
static void |
Response.setCurrent(Response response)
Sets the response associated with the current thread. |
Uses of Response in org.restlet.resource |
---|
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. |
Constructors in org.restlet.resource with parameters of type Response | |
---|---|
Resource(Context context,
Request request,
Response response)
Normal 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(java.lang.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 void |
Engine.challenge(Response response,
boolean stale,
Guard guard)
Challenges the client by adding a challenge request to the response and by setting the status to CLIENT_ERROR_UNAUTHORIZED. |
abstract void |
Engine.copyResponseHeaders(java.lang.Iterable<Parameter> headers,
Response response)
Copies the given header parameters into the given Response . |
abstract void |
Engine.copyResponseHeaders(Response response,
Series<Parameter> headers)
Copies the headers of the given Response into the given
Series . |
abstract Resource |
Engine.createDirectoryResource(Directory handler,
Request request,
Response response)
Creates a directory resource. |
static Resolver<java.lang.String> |
Resolver.createResolver(Request request,
Response response)
Creates a resolver that is based on a call (request, response couple). |
java.lang.String |
Template.format(Request request,
Response response)
Creates a formatted string based on the given request and response. |
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. |
void |
Helper.handle(Request request,
Response response)
Handles a call. |
void |
WrapperRestlet.handle(Request request,
Response response)
|
Constructors in org.restlet.util with parameters of type Response | |
---|---|
WrapperResponse(Response wrappedResponse)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |