Uses of Class
org.restlet.Response
-
Packages that use Response Package Description org.restlet Core classes of the API.org.restlet.data Information exchanged by components.org.restlet.engine Implementation of Restlet API.org.restlet.engine.adapter Adapters between low-level HTTP calls and high-level Restlet Request and Response objects.org.restlet.engine.application Supports Restlet applications.org.restlet.engine.component Supports Restlet components.org.restlet.engine.connector Integration with Java URLConnection class.org.restlet.engine.header Supports HTTP header parsing and formatting.org.restlet.engine.local Supports local connectors and resources.org.restlet.engine.log Supports the log service.org.restlet.engine.security Supports security.org.restlet.engine.util General utilities.org.restlet.ext.crypto Support for cryptography including Amazon S3 and Windows Azure client authentication.org.restlet.ext.crypto.internal org.restlet.ext.guice Integration with Google Guice @minor-version@.org.restlet.ext.httpclient.internal org.restlet.ext.jaas Support for JAAS authentication and authorization framework.org.restlet.ext.javamail Integration with JavaMail @minor-version@ (POP3 and SMTP clients).org.restlet.ext.jaxrs Support for JAX-RS API.org.restlet.ext.jaxrs.internal.core org.restlet.ext.jaxrs.internal.resteasy org.restlet.ext.jaxrs.internal.util org.restlet.ext.jetty.internal org.restlet.ext.json Support for JSON representations.org.restlet.ext.nio Integration with Java NIO package.org.restlet.ext.nio.internal.connection org.restlet.ext.nio.internal.request org.restlet.ext.nio.internal.way org.restlet.ext.rdf Support for the RDF parsing and generation.org.restlet.ext.velocity Integration with Apache Velocity @minor-version@.org.restlet.ext.wadl Support the WADL specification.org.restlet.ext.xml Support for XML and XSLT representations.org.restlet.resource Client and server resource classes.org.restlet.routing Classes related to call routing.org.restlet.security Classes related to security.org.restlet.service Services used by applications and components.org.restlet.util Various utility classes. -
-
Uses of Response in org.restlet
Fields in org.restlet with type parameters of type Response Modifier and Type Field Description private static java.lang.ThreadLocal<Response>Response. CURRENTMethods in org.restlet that return Response Modifier and Type Method Description static ResponseResponse. getCurrent()Returns the response associated to the current thread.ResponseRestlet. handle(Request request)Handles a call.Methods in org.restlet with parameters of type Response Modifier and Type Method Description voidRequest. commit(Response response)Asks the server connector to immediately commit the given response associated to this request, making it ready to be sent back to the client.voidApplication. handle(Request request, Response response)voidClient. handle(Request request, Response response)voidComponent. handle(Request request, Response response)voidRestlet. handle(Request request, Response response)Handles a call.voidRestlet. handle(Request request, Response response, Uniform onResponseCallback)Handles a call.voidServer. handle(Request request, Response response)voidUniform. handle(Request request, Response response)Handles a uniform call.static voidResponse. setCurrent(Response response)Sets the response associated with the current thread. -
Uses of Response in org.restlet.data
Constructors in org.restlet.data with parameters of type Response Constructor Description ChallengeResponse(ChallengeRequest challengeRequest, Response response, java.lang.String identifier, char[] secret)Constructor.ChallengeResponse(ChallengeRequest challengeRequest, Response response, java.lang.String identifier, char[] secret, java.lang.String secretAlgorithm)Constructor.ChallengeResponse(ChallengeRequest challengeRequest, Response response, java.lang.String identifier, java.lang.String secret)Constructor. -
Uses of Response in org.restlet.engine
Methods in org.restlet.engine with parameters of type Response Modifier and Type Method Description voidCompositeHelper. handle(Request request, Response response)voidRestletHelper. handle(Request request, Response response)Handles a call. -
Uses of Response in org.restlet.engine.adapter
Subclasses of Response in org.restlet.engine.adapter Modifier and Type Class Description classHttpResponseResponse wrapper for server HTTP calls.Methods in org.restlet.engine.adapter with parameters of type Response Modifier and Type Method Description static voidHttpResponse. addHeader(Response response, java.lang.String headerName, java.lang.String headerValue)Adds a new header to the given request.voidClientAdapter. commit(ClientCall httpCall, Request request, Response response)Commits the changes to a handled HTTP client call back into the original uniform call.RepresentationClientCall. getResponseEntity(Response response)Returns the response entity if available.voidHttpClientHelper. handle(Request request, Response response)protected voidClientAdapter. readResponseHeaders(ClientCall httpCall, Response response)Reads the response headers of a handled HTTP client call to update the original uniform call.voidClientCall. sendRequest(Request request, Response response, Uniform callback)Sends the request to the client.voidServerCall. sendResponse(Response response)Sends the response back to the client.booleanServerCall. shouldResponseBeChunked(Response response)Indicates if the response should be chunked because its length is unknown.voidClientAdapter. updateResponse(Response response, Status status, ClientCall httpCall)Updates the response with information from the lower-level HTTP client call.protected voidServerCall. writeResponseHead(Response response)Writes the response status line and headers.protected voidServerCall. writeResponseHead(Response response, java.io.OutputStream headStream)Writes the response head to the given output stream. -
Uses of Response in org.restlet.engine.application
Methods in org.restlet.engine.application with parameters of type Response Modifier and Type Method Description voidCorsResponseHelper. addCorsResponseHeaders(Request request, Response response)Adds CORS headers to the given response.protected voidCorsFilter. afterHandle(Request request, Response response)Add CORS headers to responsevoidDecoder. afterHandle(Request request, Response response)Allows filtering after its handling by the target Restlet.voidEncoder. afterHandle(Request request, Response response)Allows filtering after its handling by the target Restlet.protected voidRangeFilter. afterHandle(Request request, Response response)voidStatusFilter. afterHandle(Request request, Response response)Allows filtering after its handling by the target Restlet.protected intCorsFilter. beforeHandle(Request request, Response response)Skip the call to the server resource if theCorsFilter.skippingResourceForCorsOptionsis true and if the current request use the OPTIONS method and is a CORS request.intDecoder. beforeHandle(Request request, Response response)Allows filtering before its handling by the target Restlet.intEncoder. beforeHandle(Request request, Response response)Allows filtering before its handling by the target Restlet.intTunnelFilter. beforeHandle(Request request, Response response)protected intStatusFilter. doHandle(Request request, Response response)Handles the call by distributing it to the next Restlet.voidApplicationHelper. handle(Request request, Response response)In addition to the default behavior, it saves the current application instance into the current thread. -
Uses of Response in org.restlet.engine.component
Methods in org.restlet.engine.component with parameters of type Response Modifier and Type Method Description intComponentServerDispatcher. beforeHandle(Request request, Response response)protected intHostRoute. beforeHandle(Request request, Response response)Allows filtering before processing by the next Restlet.protected intComponentClientDispatcher. doHandle(Request request, Response response)protected intComponentServerDispatcher. doHandle(Request request, Response response)RestletClientRouter. getNext(Request request, Response response)floatClientRoute. score(Request request, Response response)Returns the score for a given call (between 0 and 1.0).floatHostRoute. score(Request request, Response response)Returns the score for a given call (between 0 and 1.0). -
Uses of Response in org.restlet.engine.connector
Methods in org.restlet.engine.connector with parameters of type Response Modifier and Type Method Description voidFtpClientHelper. handle(Request request, Response response)voidServerHelper. handle(Request request, Response response)Handles a call by invoking the helped Server'sServer.handle(Request, Response)method.voidHttpUrlConnectionCall. sendRequest(Request request, Response response, Uniform callback)voidHttpExchangeCall. writeResponseHead(Response restletResponse) -
Uses of Response in org.restlet.engine.header
Methods in org.restlet.engine.header with parameters of type Response Modifier and Type Method Description static voidHeaderUtils. addResponseHeaders(Response response, Series<Header> headers)static voidHeaderUtils. copyResponseTransportHeaders(Series<Header> headers, Response response)Copies headers into a response. -
Uses of Response in org.restlet.engine.local
Methods in org.restlet.engine.local that return Response Modifier and Type Method Description private ResponseDirectoryServerResource. dispatchRequest(Request request)Transmit the given request to the clientDispatcher.
It completes the request's attributes map with the current Directory ("org.restlet.directory" key).private ResponseDirectoryServerResource. getRepresentation(java.lang.String resourceUri)Returns a representation of the resource at the target URI.protected ResponseDirectoryServerResource. getRepresentation(java.lang.String resourceUri, MediaType acceptedMediaType)Returns a representation of the resource at the target URI.Methods in org.restlet.engine.local with parameters of type Response Modifier and Type Method Description private voidDirectoryServerResource. dispatchRequest(Request request, Response response)Transmit the given request to the clientDispatcher.
It completes the request's attributes map with the current Directory ("org.restlet.directory" key).voidLocalClientHelper. handle(Request request, Response response)Handles a call.voidRiapClientHelper. handle(Request request, Response response)Handles a call.protected voidClapClientHelper. handleClassLoader(Request request, Response response, java.lang.ClassLoader classLoader)Handles a call with a given class loader.protected voidEntityClientHelper. handleEntityGet(Request request, Response response, Entity entity)Handles a GET call.protected voidFileClientHelper. handleFile(Request request, Response response, java.lang.String decodedPath)protected voidFileClientHelper. handleFileDelete(Response response, java.io.File file)Handles a DELETE call for the FILE protocol.protected voidFileClientHelper. handleFilePut(Request request, Response response, java.lang.String path, java.io.File file)Handles a PUT call for the FILE protocol.protected voidZipClientHelper. handleGet(Request request, Response response, java.io.File file, java.lang.String entryName, MetadataService metadataService)Handles a GET call.protected voidClapClientHelper. handleLocal(Request request, Response response, java.lang.String decodedPath)protected voidEntityClientHelper. handleLocal(Request request, Response response, java.lang.String decodedPath)protected voidFileClientHelper. handleLocal(Request request, Response response, java.lang.String decodedPath)protected abstract voidLocalClientHelper. handleLocal(Request request, Response response, java.lang.String decodedPath)Handles a local call.protected voidZipClientHelper. handleLocal(Request request, Response response, java.lang.String decodedPath)Handles a call for a local entity.protected voidZipClientHelper. handlePut(Request request, Response response, java.io.File file, java.lang.String entryName)Handles a PUT call. -
Uses of Response in org.restlet.engine.log
Methods in org.restlet.engine.log with parameters of type Response Modifier and Type Method Description protected voidLogFilter. afterHandle(Request request, Response response)Allows filtering after processing by the next Restlet.protected intLogFilter. beforeHandle(Request request, Response response)Allows filtering before processing by the next Restlet. -
Uses of Response in org.restlet.engine.security
Methods in org.restlet.engine.security with parameters of type Response Modifier and Type Method Description voidAuthenticatorHelper. formatRequest(ChallengeWriter cw, ChallengeRequest challenge, Response response, Series<Header> httpHeaders)Formats a challenge request as raw credentials.static java.lang.StringAuthenticatorUtils. formatRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders)Formats a challenge request as a HTTP header value.voidHttpBasicHelper. formatRequest(ChallengeWriter cw, ChallengeRequest challenge, Response response, Series<Header> httpHeaders)voidAuthenticatorHelper. parseRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders)Parses an authenticate header into a challenge request.static java.util.List<ChallengeRequest>AuthenticatorUtils. parseRequest(Response response, java.lang.String header, Series<Header> httpHeaders)Parses an authenticate header into a list of challenge request.voidHttpBasicHelper. parseRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders)static voidAuthenticatorUtils. update(ChallengeResponse challengeResponse, Request request, Response response)Updates aChallengeResponseobject according to given request and response. -
Uses of Response in org.restlet.engine.util
Fields in org.restlet.engine.util declared as Response Modifier and Type Field Description private ResponseCallResolver. responseThe response to use as a model.Methods in org.restlet.engine.util with parameters of type Response Modifier and Type Method Description protected voidTemplateDispatcher. afterHandle(Request request, Response response)If the response entity comes back with no identifier, automatically set the request's resource reference's identifier.intTemplateDispatcher. beforeHandle(Request request, Response response)Handles the call after resolving any URI template on the request's target resource reference.intChildClientDispatcher. doHandle(Request request, Response response)Transmits the call to the parent component except if the call is internal as denoted by theProtocol.RIAPprotocol and targets this child application.private voidChildClientDispatcher. parentHandle(Request request, Response response)Asks to the parent component to handle the call.Constructors in org.restlet.engine.util with parameters of type Response Constructor Description CallResolver(Request request, Response response)Constructor. -
Uses of Response in org.restlet.ext.crypto
Methods in org.restlet.ext.crypto with parameters of type Response Modifier and Type Method Description protected voidCookieAuthenticator. attemptRedirect(Request request, Response response)Attempts to redirect the user's browser to the URI provided in a query parameter named byCookieAuthenticator.getRedirectQueryName().protected booleanCookieAuthenticator. authenticate(Request request, Response response)Restores credentials from the cookie namedCookieAuthenticator.getCookieName()if available.protected intCookieAuthenticator. authenticated(Request request, Response response)Sets or updates the credentials cookie.protected intCookieAuthenticator. beforeHandle(Request request, Response response)Optionally handles the login and logout actions by intercepting the HTTP calls to theCookieAuthenticator.getLoginPath()andCookieAuthenticator.getLogoutPath()URIs.voidCookieAuthenticator. challenge(Response response, boolean stale)This method should be overridden to return a login form representation.
By default, it redirects the user's browser to theCookieAuthenticator.getLoginFormPath()URI, adding the URI of the target resource as a query parameter of nameCookieAuthenticator.getRedirectQueryName().
In case the getLoginFormPath() is not set, it calls the parent's method.protected CookieSettingCookieAuthenticator. getCredentialsCookie(Request request, Response response)Returns the credentials cookie setting.protected booleanCookieAuthenticator. isLoggingIn(Request request, Response response)Indicates if the request is an attempt to log in and should be intercepted.protected booleanCookieAuthenticator. isLoggingOut(Request request, Response response)Indicates if the request is an attempt to log out and should be intercepted.protected voidCookieAuthenticator. login(Request request, Response response)Processes the login request.protected intCookieAuthenticator. logout(Request request, Response response)Processes the logout request. -
Uses of Response in org.restlet.ext.crypto.internal
Methods in org.restlet.ext.crypto.internal with parameters of type Response Modifier and Type Method Description voidHttpDigestHelper. formatRequest(ChallengeWriter cw, ChallengeRequest challenge, Response response, Series<Header> httpHeaders)protected java.lang.StringAwsVerifier. getIdentifier(Request request, Response response)Returns the user identifier portion of an Amazon S3 compatibleAuthorizationheader.protected char[]AwsVerifier. getSecret(Request request, Response response)Returns the signature portion of an Amazon S3 compatibleAuthorizationheader.voidHttpDigestHelper. parseRequest(ChallengeRequest challenge, Response response, Series<Header> httpHeaders)intAwsVerifier. verify(Request request, Response response)intHttpDigestVerifier. verify(Request request, Response response) -
Uses of Response in org.restlet.ext.guice
Methods in org.restlet.ext.guice that return types with arguments of type Response Modifier and Type Method Description protected com.google.inject.Provider<Response>RestletGuice.Module. newResponseProvider()Creates aProviderfor the currentResponse.Methods in org.restlet.ext.guice with parameters of type Response Modifier and Type Method Description ServerResourceRestletGuice.Module.ServerResourceKeyFinder. create(Request request, Response response) -
Uses of Response in org.restlet.ext.httpclient.internal
Methods in org.restlet.ext.httpclient.internal with parameters of type Response Modifier and Type Method Description voidHttpMethodCall. sendRequest(Request request, Response response, Uniform callback) -
Uses of Response in org.restlet.ext.jaas
Fields in org.restlet.ext.jaas declared as Response Modifier and Type Field Description private ResponseChallengeCallbackHandler. responseThe handled response.Methods in org.restlet.ext.jaas that return Response Modifier and Type Method Description ResponseChallengeCallbackHandler. getResponse()Returns the handled response.Methods in org.restlet.ext.jaas with parameters of type Response Modifier and Type Method Description protected javax.security.auth.callback.CallbackHandlerJaasVerifier. createCallbackHandler(Request request, Response response)Creates a callback handler for the given parameters.voidChallengeCallbackHandler. setResponse(Response response)Sets the handled response.intJaasVerifier. verify(Request request, Response response)Verifies that the proposed secret is correct for the specified identifier.Constructors in org.restlet.ext.jaas with parameters of type Response Constructor Description ChallengeCallbackHandler(Request request, Response response)Constructor. -
Uses of Response in org.restlet.ext.javamail
Methods in org.restlet.ext.javamail with parameters of type Response Modifier and Type Method Description voidJavaMailClientHelper. handle(Request request, Response response)Deprecated.private voidJavaMailClientHelper. handlePop(Request request, Response response)Deprecated.Handles a POP or POPS request.private voidJavaMailClientHelper. handleSmtp(Request request, Response response)Deprecated.Handles a SMTP or SMTPS request. -
Uses of Response in org.restlet.ext.jaxrs
Methods in org.restlet.ext.jaxrs with parameters of type Response Modifier and Type Method Description voidJaxRsRestlet. handle(Request request, Response response)Deprecated.Handles a call by looking for the resource metod to call, call it and return the result. -
Uses of Response in org.restlet.ext.jaxrs.internal.core
Fields in org.restlet.ext.jaxrs.internal.core declared as Response Modifier and Type Field Description private ResponseCallContext. responseDeprecated.Methods in org.restlet.ext.jaxrs.internal.core that return Response Modifier and Type Method Description ResponseCallContext. getResponse()Deprecated.Returns the RestletResponseConstructors in org.restlet.ext.jaxrs.internal.core with parameters of type Response Constructor Description CallContext(Request request, Response response)Deprecated. -
Uses of Response in org.restlet.ext.jaxrs.internal.resteasy
Fields in org.restlet.ext.jaxrs.internal.resteasy declared as Response Modifier and Type Field Description private ResponseRestletHttpResponse. responseDeprecated.Methods in org.restlet.ext.jaxrs.internal.resteasy that return Response Modifier and Type Method Description ResponseRestletHttpResponse. getResponse()Deprecated.Returns the wrapped Restlet response.Constructors in org.restlet.ext.jaxrs.internal.resteasy with parameters of type Response Constructor Description RestletHttpRequest(org.jboss.resteasy.core.SynchronousDispatcher dispatcher, Request request, Response response)Deprecated.Constructor.RestletHttpResponse(Response response)Deprecated. -
Uses of Response in org.restlet.ext.jaxrs.internal.util
Fields in org.restlet.ext.jaxrs.internal.util declared as Response Modifier and Type Field Description private ResponseWrappedRequestForHttpHeaders. restletResponseDeprecated.null, if content was copied to theWrappedRequestForHttpHeaders.headers.Methods in org.restlet.ext.jaxrs.internal.util with parameters of type Response Modifier and Type Method Description static voidUtil. copyResponseHeaders(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> jaxRsHeaders, Response restletResponse)Deprecated.Copies headers into a response.static Series<Header>Util. copyResponseHeaders(Response restletResponse)Deprecated.static Series<Header>Util. getHttpHeaders(Response response)Deprecated.Constructors in org.restlet.ext.jaxrs.internal.util with parameters of type Response Constructor Description WrappedRequestForHttpHeaders(Response restletResponse, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> jaxRsRespHeaders)Deprecated. -
Uses of Response in org.restlet.ext.jetty.internal
Methods in org.restlet.ext.jetty.internal with parameters of type Response Modifier and Type Method Description RepresentationJettyClientCall. getResponseEntity(Response response)Returns the response entity if available.voidJettyClientCall. sendRequest(Request request, Response response, Uniform callback)voidJettyServerCall. sendResponse(Response response) -
Uses of Response in org.restlet.ext.json
Methods in org.restlet.ext.json with parameters of type Response Modifier and Type Method Description voidJsonpFilter. afterHandle(Request request, Response response)Assumes that there is a "callback" query parameter available in the URI query string, containing the name of the JavaScript callback method. -
Uses of Response in org.restlet.ext.nio
Fields in org.restlet.ext.nio with type parameters of type Response Modifier and Type Field Description protected java.util.Queue<Response>BaseHelper. inboundMessagesDeprecated.The queue of inbound messages.protected java.util.Queue<Response>BaseHelper. outboundMessagesDeprecated.The queue of outbound messages.Methods in org.restlet.ext.nio that return types with arguments of type Response Modifier and Type Method Description java.util.Queue<Response>BaseHelper. getInboundMessages()Deprecated.Returns the queue of inbound messages pending for handling.protected java.util.Queue<Response>BaseHelper. getOutboundMessages()Deprecated.Returns the queue of outbound messages pending for handling.Methods in org.restlet.ext.nio with parameters of type Response Modifier and Type Method Description voidConnectionHelper. addOutboundMessage(Response response)Deprecated.Add the outbound message to the queue and wake up the IO controller.protected booleanHttpServerHelper. canHandle(Connection<Server> connection, Response response)Deprecated.protected abstract booleanServerConnectionHelper. canHandle(Connection<Server> connection, Response response)Deprecated.Indicates if the connection can handle the given response at this point in time.abstract voidBaseHelper. doHandleInbound(Response response)Deprecated.Effectively handles an inbound message.voidClientConnectionHelper. doHandleInbound(Response response)Deprecated.voidServerConnectionHelper. doHandleInbound(Response response)Deprecated.abstract voidBaseHelper. doHandleOutbound(Response response)Deprecated.Effectively handles an outbound message.voidClientConnectionHelper. doHandleOutbound(Response response)Deprecated.voidServerConnectionHelper. doHandleOutbound(Response response)Deprecated.RequestBaseHelper. getRequest(Response response)Deprecated.Returns the parent request of this response.voidClientConnectionHelper. handle(Request request, Response response)Deprecated.voidServerConnectionHelper. handle(Request request, Response response)Deprecated.Handles a call by invoking the helped Server'sServer.handle(Request, Response)method.protected abstract voidBaseHelper. handleInbound(Response response)Deprecated.Handle the given inbound message.protected voidBaseHelper. handleInbound(Response response, boolean synchronous)Deprecated.Handle the given inbound message.protected voidClientConnectionHelper. handleInbound(Response response)Deprecated.protected voidServerConnectionHelper. handleInbound(Response response)Deprecated.protected abstract voidBaseHelper. handleOutbound(Response response)Deprecated.Handle the given outbound message.protected voidBaseHelper. handleOutbound(Response response, boolean synchronous)Deprecated.Handle the given outbound message.protected voidClientConnectionHelper. handleOutbound(Response response)Deprecated.protected voidServerConnectionHelper. handleOutbound(Response response)Deprecated.voidBaseHelper. onInboundError(Status status, Response message)Deprecated.Called on error.voidBaseHelper. onOutboundError(Status status, Response message)Deprecated.Called on error.protected voidClientConnectionHelper. unblock(Response response)Deprecated.Unblocks the thread that handles the given request/response pair. -
Uses of Response in org.restlet.ext.nio.internal.connection
Methods in org.restlet.ext.nio.internal.connection with parameters of type Response Modifier and Type Method Description voidConnection. commit(Response response)Deprecated.Asks the server connector to immediately commit the given response associated to this request, making it ready to be sent back to the client. -
Uses of Response in org.restlet.ext.nio.internal.request
Methods in org.restlet.ext.nio.internal.request with parameters of type Response Modifier and Type Method Description voidHttpInboundRequest. commit(Response response)Deprecated. -
Uses of Response in org.restlet.ext.nio.internal.way
Fields in org.restlet.ext.nio.internal.way declared as Response Modifier and Type Field Description private ResponseWay. messageDeprecated.The current message exchanged.Fields in org.restlet.ext.nio.internal.way with type parameters of type Response Modifier and Type Field Description private java.util.Queue<Response>HttpClientInboundWay. messagesDeprecated.The queue of messages.private java.util.Queue<Response>HttpClientOutboundWay. messagesDeprecated.The queue of messages.private java.util.Queue<Response>HttpServerInboundWay. messagesDeprecated.The queue of messages.private java.util.Queue<Response>HttpServerOutboundWay. messagesDeprecated.The queue of messages.Methods in org.restlet.ext.nio.internal.way that return Response Modifier and Type Method Description protected abstract ResponseClientInboundWay. createResponse(Status status)Deprecated.Creates a response object for the given status.protected ResponseHttpClientInboundWay. createResponse(Status status)Deprecated.protected ResponseHttpServerInboundWay. createResponse(Request request)Deprecated.protected abstract ResponseServerInboundWay. createResponse(Request request)Deprecated.Creates a response object for the given request.ResponseServerOutboundWay. getActualMessage()Deprecated.ResponseWay. getMessage()Deprecated.Returns the current message processed.Methods in org.restlet.ext.nio.internal.way that return types with arguments of type Response Modifier and Type Method Description java.util.Queue<Response>HttpClientInboundWay. getMessages()Deprecated.Returns the queue of messages.java.util.Queue<Response>HttpClientOutboundWay. getMessages()Deprecated.Returns the queue of messages.java.util.Queue<Response>HttpServerInboundWay. getMessages()Deprecated.Returns the queue of messages.java.util.Queue<Response>HttpServerOutboundWay. getMessages()Deprecated.Returns the queue of messages.Methods in org.restlet.ext.nio.internal.way with parameters of type Response Modifier and Type Method Description protected voidClientInboundWay. copyResponseTransportHeaders(Series<Header> headers, Response response)Deprecated.Copies headers into a response.voidHttpClientOutboundWay. handle(Response response)Deprecated.voidHttpServerOutboundWay. handle(Response response)Deprecated.abstract voidOutboundWay. handle(Response response)Deprecated.Add a message to the outbound way.protected voidClientInboundWay. onReceived(Response message)Deprecated.protected voidHttpServerInboundWay. onReceived(Response message)Deprecated.protected abstract voidInboundWay. onReceived(Response message)Deprecated.Call back invoked when the message is received.protected voidServerInboundWay. onReceived(Response message)Deprecated.Call back invoked when the message is received.protected voidWay. setMessage(Response message)Deprecated.Sets the current message processed. -
Uses of Response in org.restlet.ext.rdf
Constructors in org.restlet.ext.rdf with parameters of type Response Constructor Description RdfClientResource(Context context, Request request, Response response)Constructor.RdfClientResource(Request request, Response response)Constructor. -
Uses of Response in org.restlet.ext.velocity
Methods in org.restlet.ext.velocity with parameters of type Response Modifier and Type Method Description protected voidTemplateFilter. afterHandle(Request request, Response response)voidTemplateRepresentation. setDataModel(Request request, Response response)Sets the template's data model from a request/response pair. -
Uses of Response in org.restlet.ext.wadl
Methods in org.restlet.ext.wadl with parameters of type Response Modifier and Type Method Description protected booleanWadlApplication. canDescribe(java.lang.String remainingPart, Request request, Response response)Deprecated.Indicates if the application and all its resources can be described using WADL.protected ApplicationInfoWadlApplication. getApplicationInfo(Request request, Response response)Deprecated.Returns a WADL description of the current application.private ResourceInfoWadlApplication. getResourceInfo(ApplicationInfo applicationInfo, Finder finder, java.lang.String path, Request request, Response response)Deprecated.Completes the data available about a given Finder instance.private ResourceInfoWadlApplication. getResourceInfo(ApplicationInfo applicationInfo, Restlet restlet, java.lang.String path, Request request, Response response)Deprecated.Completes the data available about a given Restlet instance.private ResourceInfoWadlApplication. getResourceInfo(ApplicationInfo applicationInfo, Filter filter, java.lang.String path, Request request, Response response)Deprecated.Completes the data available about a given Filter instance.private ResourceInfoWadlApplication. getResourceInfo(ApplicationInfo applicationInfo, Route route, java.lang.String basePath, Request request, Response response)Deprecated.Returns the WADL data about the given Route instance.private java.util.List<ResourceInfo>WadlApplication. getResourceInfos(ApplicationInfo applicationInfo, Router router, Request request, Response response)Deprecated.Completes the list of ResourceInfo instances for the given Router instance.voidWadlApplication. handle(Request request, Response response)Deprecated.Handles the requests normally in all cases then handles the special case of the OPTIONS requests that exactly target the application.protected RepresentationWadlApplication. wadlRepresent(Variant variant, Request request, Response response)Deprecated.Represents the resource as a WADL description for the given variant.protected RepresentationWadlApplication. wadlRepresent(Request request, Response response)Deprecated.Represents the resource as a WADL description. -
Uses of Response in org.restlet.ext.xml
Methods in org.restlet.ext.xml with parameters of type Response Modifier and Type Method Description protected voidTransformer. afterHandle(Request request, Response response)protected intTransformer. beforeHandle(Request request, Response response) -
Uses of Response in org.restlet.resource
Fields in org.restlet.resource declared as Response Modifier and Type Field Description private ResponseResource. responseThe handled response.private ResponseResourceException. responseThe response associated to this exception.Methods in org.restlet.resource that return Response Modifier and Type Method Description protected ResponseClientResource. createResponse(Request request)Creates a new response for the given request.ResponseResource. getResponse()Returns the handled response.ResponseResourceException. getResponse()Returns the response associated to this exception.ResponseClientResource. handleOutbound(Request request)Handles the outbound call by invoking the next handler.Methods in org.restlet.resource with parameters of type Response Modifier and Type Method Description ServerResourceFinder. create(java.lang.Class<? extends ServerResource> targetClass, Request request, Response response)Creates a new instance of a givenServerResourcesubclass.ServerResourceFinder. create(Request request, Response response)Creates a new instance of theServerResourcesubclass designated by the "targetClass" property.voidClientResource. doError(Status errorStatus, Request request, Response response)By default, it throws a new resource exception.voidClientResource. doError(Request request, Response response)By default, it throws a new resource exception.ServerResourceFinder. find(Request request, Response response)Finds the targetServerResourceif available.protected voidClientResource. handle(Request request, Response response, java.util.List<Reference> references, int retryAttempt, Uniform next)Handle the call and follow redirection for safe methods.voidDirectory. handle(Request request, Response response)voidFinder. handle(Request request, Response response)Handles a call.RepresentationClientResource. handleInbound(Response response)Handles the inbound call.voidResource. init(Context context, Request request, Response response)Initialization method setting the environment of the current resource instance.protected voidClientResource. redirect(Request request, Response response, java.util.List<Reference> references, int retryAttempt, Uniform next)Effectively redirects a client call.protected voidClientResource. retry(Request request, Response response, java.util.List<Reference> references, int retryAttempt, Uniform next)Effectively retries a failed client call.voidResource. setResponse(Response response)Sets the handled response.Constructors in org.restlet.resource with parameters of type Response Constructor Description ClientResource(Context context, Request request, Response response)Constructor.ClientResource(Request request, Response response)Constructor.ResourceException(Status status, java.lang.Throwable cause, Request request, Response response)Constructor.ResourceException(Status status, Request request, Response response)Constructor. -
Uses of Response in org.restlet.routing
Methods in org.restlet.routing with parameters of type Response Modifier and Type Method Description protected voidFilter. afterHandle(Request request, Response response)Allows filtering after processing by the next Restlet.protected intExtractor. beforeHandle(Request request, Response response)Allows filtering before its handling by the target Restlet.protected intFilter. beforeHandle(Request request, Response response)Allows filtering before processing by the next Restlet.protected intTemplateRoute. beforeHandle(Request request, Response response)Allows filtering before its handling by the target Restlet.protected intValidator. beforeHandle(Request request, Response response)Allows filtering before its handling by the target Restlet.protected intFilter. doHandle(Request request, Response response)Handles the call by distributing it to the next Restlet.protected voidRouter. doHandle(Restlet next, Request request, Response response)java.lang.StringTemplate. format(Request request, Response response)Creates a formatted string based on the given request and response.protected RouteRouter. getCustom(Request request, Response response)Returns the matched route according to a custom algorithm.RestletRouter. getNext(Request request, Response response)Returns the next Restlet if available.protected ReferenceRedirector. getTargetRef(Request request, Response response)Returns the target reference to redirect to by automatically resolving URI template variables found using theTemplateclass using the request and response as data models.voidFilter. 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.voidRedirector. handle(Request request, Response response)Handles a call by redirecting using the selected redirection mode.voidRouter. handle(Request request, Response response)Handles a call by invoking the next Restlet if it is available.protected voidRedirector. inboundServerRedirect(Reference targetRef, Request request, Response response)Redirects a given call to a target reference.protected voidRedirector. outboundServerRedirect(Reference targetRef, Request request, Response response)Redirects a given call to a target reference.protected voidRedirector. rewrite(Response initialResponse)Optionally updates the response sent in theRedirector.MODE_SERVER_INBOUNDandRedirector.MODE_SERVER_OUTBOUNDmodes.voidRedirector. rewriteLocation(Request request, Response response)Rewrite the location of the response, and the Location of the entity, if any.abstract floatRoute. score(Request request, Response response)Returns the score for a given call (between 0 and 1.0).floatTemplateRoute. score(Request request, Response response)Returns the score for a given call (between 0 and 1.0).protected voidRedirector. serverRedirect(Restlet next, Reference targetRef, Request request, Response response)Redirects a given call on the server-side to a next Restlet with a given target reference. -
Uses of Response in org.restlet.security
Methods in org.restlet.security with parameters of type Response Modifier and Type Method Description protected abstract booleanAuthenticator. authenticate(Request request, Response response)Attempts to authenticate the subject sending the request.protected booleanCertificateAuthenticator. authenticate(Request request, Response response)Authenticates the call using the X.509 client certificate.protected booleanChallengeAuthenticator. authenticate(Request request, Response response)Authenticates the call, relying on the verifier to check the credentials provided (in general an identifier + secret couple).protected intAuthenticator. authenticated(Request request, Response response)Invoked upon successful authentication.protected abstract booleanAuthorizer. authorize(Request request, Response response)Attempts to authorize the request.booleanConfidentialAuthorizer. authorize(Request request, Response response)Authorizes the request only if its method is one of the authorized methods.booleanMethodAuthorizer. authorize(Request request, Response response)Authorizes the request only if its method is one of the authorized methods.booleanRoleAuthorizer. authorize(Request request, Response response)Authorizes the request only if its subject is in one of the authorized roles and in none of the forbidden ones.protected intAuthorizer. authorized(Request request, Response response)Invoked upon successful authorization.protected intAuthenticator. beforeHandle(Request request, Response response)Handles the authentication by first invoking theAuthenticator.authenticate(Request, Response)method, only ifAuthenticator.isMultiAuthenticating()returns true and ifClientInfo.isAuthenticated()returns false.protected intAuthorizer. beforeHandle(Request request, Response response)voidChallengeAuthenticator. challenge(Response response, boolean stale)Challenges the client by adding a challenge request to the response and by setting the status toStatus.CLIENT_ERROR_UNAUTHORIZED.protected UserMemoryRealm.DefaultVerifier. createUser(java.lang.String identifier, Request request, Response response)protected UserSecretVerifier. createUser(java.lang.String identifier, Request request, Response response)Called back to create a new user when valid credentials are provided.voidChallengeAuthenticator. forbid(Response response)Rejects the call due to a failed authentication or authorization.protected java.lang.StringSecretVerifier. getIdentifier(Request request, Response response)Returns the user identifier.protected char[]SecretVerifier. getSecret(Request request, Response response)Returns the secret provided by the user.protected intAuthenticator. unauthenticated(Request request, Response response)Invoked upon failed authentication.protected intAuthorizer. unauthorized(Request request, Response response)Invoked upon failed authorization.intSecretVerifier. verify(Request request, Response response)Verifies that the proposed secret is correct for the specified request.intVerifier. verify(Request request, Response response)Attempts to verify the credentials provided by the client user sending the request. -
Uses of Response in org.restlet.service
Methods in org.restlet.service with parameters of type Response Modifier and Type Method Description protected java.lang.StringLogService. getDefaultResponseLogMessage(Response response, int duration)Format a log entry using the default IIS log format.RepresentationStatusService. getRepresentation(Status status, Request request, Response response)Deprecated.java.lang.StringLogService. getResponseLogMessage(Response response, int duration)Format an access log entry.StatusStatusService. getStatus(java.lang.Throwable throwable, Request request, Response response)Deprecated.UseStatusService.toStatus(Throwable, Request, Response)instead.RepresentationStatusService. toRepresentation(Status status, Request request, Response response)Returns a representation for the given status.StatusStatusService. toStatus(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 Modifier and Type Class Description classWrapperResponseRequest wrapper.Fields in org.restlet.util declared as Response Modifier and Type Field Description private ResponseWrapperResponse. wrappedResponseThe wrapped response.Methods in org.restlet.util that return Response Modifier and Type Method Description protected ResponseWrapperResponse. getWrappedResponse()Returns the wrapped response.Methods in org.restlet.util with parameters of type Response Modifier and Type Method Description voidWrapperRequest. commit(Response response)static Resolver<?>Resolver. createResolver(Request request, Response response)Creates a resolver that is based on a call (request, response couple).RouteRouteList. getBest(Request request, Response response, float requiredScore)Returns the best route match for a given call.RouteRouteList. getFirst(Request request, Response response, float requiredScore)Returns the first route match for a given call.RouteRouteList. getLast(Request request, Response response, float requiredScore)Returns the last route match for a given call.RouteRouteList. getNext(Request request, Response response, float requiredScore)Returns a next route match in a round robin mode for a given call.RouteRouteList. getRandom(Request request, Response response, float requiredScore)Returns a random route match for a given call.voidWrapperRestlet. handle(Request request, Response response)Constructors in org.restlet.util with parameters of type Response Constructor Description WrapperResponse(Response wrappedResponse)Constructor.
-