Uses of Class
org.restlet.Request
-
Packages that use Request Package Description org.restlet Core classes of the API.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.resource Supports resources.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.fileupload Integration with Apache FileUpload @minor-version@ library.org.restlet.ext.guice Integration with Google Guice @minor-version@.org.restlet.ext.httpclient Integration with Apache HTTP Client @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.client org.restlet.ext.jaxrs.internal.core org.restlet.ext.jaxrs.internal.resteasy org.restlet.ext.jaxrs.internal.util org.restlet.ext.jetty Integration with Jetty @minor-version@ which is a new implementation of the popular Jetty web server.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.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 Request in org.restlet
Fields in org.restlet declared as Request Modifier and Type Field Description private RequestResponse. requestThe associated request.Methods in org.restlet that return Request Modifier and Type Method Description static RequestRequest. getCurrent()Returns the request associated to the current thread.RequestResponse. getRequest()Returns the associated requestMethods in org.restlet with parameters of type Request Modifier and Type Method Description voidApplication. handle(Request request, Response response)voidClient. handle(Request request, Response response)voidComponent. handle(Request request, Response response)ResponseRestlet. handle(Request request)Handles a call.voidRestlet. handle(Request request, Response response)Handles a call.voidRestlet. handle(Request request, Response response, Uniform onResponseCallback)Handles a call.voidRestlet. handle(Request request, Uniform onReceivedCallback)Handles a call.voidServer. handle(Request request, Response response)voidUniform. handle(Request request, Response response)Handles a uniform call.voidResponse. setRequest(Request request)Sets the associated request.Constructors in org.restlet with parameters of type Request Constructor Description Request(Request request)Copy constructor.Response(Request request)Constructor. -
Uses of Request in org.restlet.engine
Methods in org.restlet.engine with parameters of type Request Modifier and Type Method Description voidCompositeHelper. handle(Request request, Response response)voidRestletHelper. handle(Request request, Response response)Handles a call. -
Uses of Request in org.restlet.engine.adapter
Subclasses of Request in org.restlet.engine.adapter Modifier and Type Class Description classHttpRequestRequest wrapper for server HTTP calls.Methods in org.restlet.engine.adapter with parameters of type Request Modifier and Type Method Description static voidHttpRequest. addHeader(Request request, java.lang.String headerName, java.lang.String headerValue)Deprecated.UseMessage.getHeaders()directly instead.voidClientAdapter. commit(ClientCall httpCall, Request request, Response response)Commits the changes to a handled HTTP client call back into the original uniform call.abstract ClientCallHttpClientHelper. create(Request request)Creates a low-level HTTP client call from a high-level request.voidHttpClientHelper. handle(Request request, Response response)StatusClientCall. sendRequest(Request request)Sends the request to the client.voidClientCall. sendRequest(Request request, Response response, Uniform callback)Sends the request to the client.protected booleanClientCall. shouldRequestBeChunked(Request request)Indicates if the request entity should be chunked.ClientCallClientAdapter. toSpecific(HttpClientHelper client, Request request)Converts a low-level HTTP call into a high-level uniform call.Constructors in org.restlet.engine.adapter with parameters of type Request Constructor Description HttpResponse(ServerCall httpCall, Request request)Constructor. -
Uses of Request in org.restlet.engine.application
Fields in org.restlet.engine.application declared as Request Modifier and Type Field Description private RequestConneg. requestThe request including client preferences.Methods in org.restlet.engine.application that return Request Modifier and Type Method Description RequestConneg. getRequest()Returns the request including client preferences.Methods in org.restlet.engine.application with parameters of type Request 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.booleanCorsResponseHelper. isCorsRequest(Request request)Returns true if the request is a CORS request.private booleanTunnelFilter. processExtensions(Request request)Updates the client preferences based on file-like extensions.private voidTunnelFilter. processHeaders(Request request)Updates the request method based on specific header.private booleanTunnelFilter. processQuery(Request request)Updates the request method and client preferences based on query parameters.private voidTunnelFilter. processUserAgent(Request request)Updates the client preferences according to the user agent properties (name, version, etc.) taken from the "agent.properties" file located in the classpath.Constructors in org.restlet.engine.application with parameters of type Request Constructor Description Conneg(Request request, MetadataService metadataService)Constructor.FlexibleConneg(Request request, MetadataService metadataService)Constructor.StrictConneg(Request request, MetadataService metadataService)Constructor. -
Uses of Request in org.restlet.engine.component
Methods in org.restlet.engine.component with parameters of type Request 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 Request in org.restlet.engine.connector
Methods in org.restlet.engine.connector with parameters of type Request Modifier and Type Method Description ClientCallHttpClientHelper. create(Request request)Creates a low-level HTTP client call from a high-level uniform call.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.StatusHttpUrlConnectionCall. sendRequest(Request request)Sends the request to the client.voidHttpUrlConnectionCall. sendRequest(Request request, Response response, Uniform callback) -
Uses of Request in org.restlet.engine.header
Methods in org.restlet.engine.header with parameters of type Request Modifier and Type Method Description static voidHeaderUtils. addRequestHeaders(Request request, Series<Header> headers) -
Uses of Request in org.restlet.engine.local
Methods in org.restlet.engine.local with parameters of type Request Modifier and Type Method Description private StatusFileClientHelper. createFile(Request request, java.io.File file)private StatusFileClientHelper. createFileWithPartialContent(Request request, java.io.File file, Range range)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 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).private StatusFileClientHelper. doHandleFilePut(Request request, java.lang.String path, java.io.File file)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. 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.private StatusFileClientHelper. replaceFile(Request request, java.io.File file)private StatusFileClientHelper. replaceFileByTemporaryFile(Request request, java.io.File file, java.io.File tmp)private StatusFileClientHelper. updateFileWithPartialContent(Request request, java.io.File file, Range range) -
Uses of Request in org.restlet.engine.log
Methods in org.restlet.engine.log with parameters of type Request 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 Request in org.restlet.engine.resource
Methods in org.restlet.engine.resource that return Request Modifier and Type Method Description protected RequestClientInvocationHandler. getRequest(java.lang.reflect.Method javaMethod, java.lang.Object[] args)Allows for child classes to modify the request. -
Uses of Request in org.restlet.engine.security
Methods in org.restlet.engine.security with parameters of type Request Modifier and Type Method Description voidAuthenticatorHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)Formats a challenge response as raw credentials.static java.lang.StringAuthenticatorUtils. formatResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders)Formats a challenge response as a HTTP header value.voidHttpBasicHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidSmtpPlainHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidAuthenticatorHelper. parseResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders)Parses an authorization header into a challenge response.static ChallengeResponseAuthenticatorUtils. parseResponse(Request request, java.lang.String header, Series<Header> httpHeaders)Parses an authorization header into a challenge response.voidHttpBasicHelper. parseResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders)static voidAuthenticatorUtils. update(ChallengeResponse challengeResponse, Request request, Response response)Updates aChallengeResponseobject according to given request and response.ReferenceAuthenticatorHelper. updateReference(Reference resourceRef, ChallengeResponse challengeResponse, Request request)Optionally updates the request with a challenge response before sending it.static ReferenceAuthenticatorUtils. updateReference(Reference resourceRef, ChallengeResponse challengeResponse, Request request)Optionally updates the request with a challenge response before sending it. -
Uses of Request in org.restlet.engine.util
Fields in org.restlet.engine.util declared as Request Modifier and Type Field Description private RequestCallResolver. requestThe request to use as a model.Methods in org.restlet.engine.util with parameters of type Request 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.static java.lang.StringReferenceUtils. format(Reference resourceRef, boolean isProxied, Request request)Returns the request URI.private voidChildClientDispatcher. parentHandle(Request request, Response response)Asks to the parent component to handle the call.static ReferenceReferenceUtils. update(Reference resourceRef, Request request)Returns the request URI.Constructors in org.restlet.engine.util with parameters of type Request Constructor Description CallResolver(Request request, Response response)Constructor. -
Uses of Request in org.restlet.ext.crypto
Methods in org.restlet.ext.crypto with parameters of type Request 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.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 Request in org.restlet.ext.crypto.internal
Methods in org.restlet.ext.crypto.internal with parameters of type Request Modifier and Type Method Description voidHttpAwsS3Helper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidHttpAzureSharedKeyHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidHttpAzureSharedKeyLiteHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)voidHttpDigestHelper. formatResponse(ChallengeWriter cw, ChallengeResponse challenge, Request request, Series<Header> httpHeaders)char[]HttpDigestHelper. formatResponseDigest(ChallengeResponse challengeResponse, Request request)Formats the response digest.protected java.lang.StringAwsVerifier. getIdentifier(Request request, Response response)Returns the user identifier portion of an Amazon S3 compatibleAuthorizationheader.static java.lang.StringAwsUtils. getS3Signature(Request request, char[] secret)Returns the AWS S3 authentication compatible signature for the given request and secret.static java.lang.StringAwsUtils. getS3Signature(Request request, Series<Header> headers, char[] secret)Returns the AWS S3 authentication compatible signature for the given request and secret.static java.lang.StringAwsUtils. getS3StringToSign(Request request)Returns the string to sign.static java.lang.StringAwsUtils. getS3StringToSign(Request request, Series<Header> headers)Returns the S3 string to sign.protected char[]AwsVerifier. getSecret(Request request, Response response)Returns the signature portion of an Amazon S3 compatibleAuthorizationheader.voidHttpDigestHelper. parseResponse(ChallengeResponse challenge, Request request, Series<Header> httpHeaders)ReferenceHttpAwsQueryHelper. updateReference(Reference resourceRef, ChallengeResponse challengeResponse, Request request)intAwsVerifier. verify(Request request, Response response)intHttpDigestVerifier. verify(Request request, Response response) -
Uses of Request in org.restlet.ext.fileupload
Methods in org.restlet.ext.fileupload with parameters of type Request Modifier and Type Method Description java.util.List<org.apache.commons.fileupload.FileItem>RestletFileUpload. parseRequest(Request request)Processes an RFC 1867 compliantmultipart/form-datainput representation. -
Uses of Request in org.restlet.ext.guice
Methods in org.restlet.ext.guice that return types with arguments of type Request Modifier and Type Method Description protected com.google.inject.Provider<Request>RestletGuice.Module. newRequestProvider()Creates aProviderfor the currentRequest.Methods in org.restlet.ext.guice with parameters of type Request Modifier and Type Method Description ServerResourceRestletGuice.Module.ServerResourceKeyFinder. create(Request request, Response response) -
Uses of Request in org.restlet.ext.httpclient
Methods in org.restlet.ext.httpclient with parameters of type Request Modifier and Type Method Description ClientCallHttpClientHelper. create(Request request)Creates a low-level HTTP client call from a high-level uniform call. -
Uses of Request in org.restlet.ext.httpclient.internal
Methods in org.restlet.ext.httpclient.internal with parameters of type Request Modifier and Type Method Description StatusHttpMethodCall. sendRequest(Request request)Sends the request to the client.voidHttpMethodCall. sendRequest(Request request, Response response, Uniform callback) -
Uses of Request in org.restlet.ext.jaas
Fields in org.restlet.ext.jaas declared as Request Modifier and Type Field Description private RequestChallengeCallbackHandler. requestThe handled request.Methods in org.restlet.ext.jaas that return Request Modifier and Type Method Description RequestChallengeCallbackHandler. getRequest()Returns the handled request.Methods in org.restlet.ext.jaas with parameters of type Request 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. setRequest(Request request)Sets the handled request.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 Request Constructor Description ChallengeCallbackHandler(Request request, Response response)Constructor. -
Uses of Request in org.restlet.ext.javamail
Methods in org.restlet.ext.javamail with parameters of type Request Modifier and Type Method Description private java.lang.StringJavaMailClientHelper. getLogin(Request request)Deprecated.Returns the request login.private java.lang.StringJavaMailClientHelper. getPassword(Request request)Deprecated.Returns the request password.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 Request in org.restlet.ext.jaxrs
Methods in org.restlet.ext.jaxrs with parameters of type Request 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 Request in org.restlet.ext.jaxrs.internal.client
Methods in org.restlet.ext.jaxrs.internal.client that return Request Modifier and Type Method Description protected RequestJaxRsClientInvocationHandler. getRequest(java.lang.reflect.Method javaMethod, java.lang.Object[] args)Deprecated.Methods in org.restlet.ext.jaxrs.internal.client with parameters of type Request Modifier and Type Method Description private voidJaxRsClientInvocationHandler. addCookieParam(Request request, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)Deprecated.private voidJaxRsClientInvocationHandler. addHeaderParam(Request request, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)Deprecated.private voidJaxRsClientInvocationHandler. addPathParam(Request request, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)Deprecated.private voidJaxRsClientInvocationHandler. addQueryParam(Request request, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)Deprecated.private voidJaxRsClientInvocationHandler. handleJavaMethodParameter(Request request, java.lang.Object value, java.lang.reflect.Type genericParameterType, java.lang.annotation.Annotation[] annotations, Form form)Deprecated.private voidJaxRsClientInvocationHandler. setRequestPathToAnnotationPath(java.lang.reflect.Method javaMethod, Request request)Deprecated. -
Uses of Request in org.restlet.ext.jaxrs.internal.core
Fields in org.restlet.ext.jaxrs.internal.core declared as Request Modifier and Type Field Description private RequestCallContext. requestDeprecated.Methods in org.restlet.ext.jaxrs.internal.core that return Request Modifier and Type Method Description RequestCallContext. getRequest()Deprecated.Returns the RestletRequestConstructors in org.restlet.ext.jaxrs.internal.core with parameters of type Request Constructor Description CallContext(Request request, Response response)Deprecated. -
Uses of Request in org.restlet.ext.jaxrs.internal.resteasy
Fields in org.restlet.ext.jaxrs.internal.resteasy declared as Request Modifier and Type Field Description private RequestRestletHttpRequest. requestDeprecated.The wrapped Restlet request.Methods in org.restlet.ext.jaxrs.internal.resteasy that return Request Modifier and Type Method Description RequestRestletHttpRequest. getRequest()Deprecated.Returns the wrapped Restlet request.Constructors in org.restlet.ext.jaxrs.internal.resteasy with parameters of type Request Constructor Description RestletHttpRequest(org.jboss.resteasy.core.SynchronousDispatcher dispatcher, Request request, Response response)Deprecated.Constructor. -
Uses of Request in org.restlet.ext.jaxrs.internal.util
Methods in org.restlet.ext.jaxrs.internal.util with parameters of type Request Modifier and Type Method Description static Series<Header>Util. getHttpHeaders(Request request)Deprecated.static javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String>Util. getJaxRsHttpHeaders(Request request)Deprecated.Returns the request headers asMultivaluedMap.static java.security.PrincipalSecurityUtil. getSslClientCertPrincipal(Request request)Deprecated.Returns the Principal from the SSL client certificates (the first with a name).private static java.util.List<java.security.cert.X509Certificate>SecurityUtil. getSslClientCerts(Request request)Deprecated.Returns the client certificates from the given Request.static booleanSecurityUtil. isSslClientCertAuth(Request request)Deprecated.Checks, if the given request was authenticated by a SSL client certificate. -
Uses of Request in org.restlet.ext.jetty
Methods in org.restlet.ext.jetty with parameters of type Request Modifier and Type Method Description ClientCallHttpClientHelper. create(Request request)Creates a low-level HTTP client call from a high-level uniform call. -
Uses of Request in org.restlet.ext.jetty.internal
Methods in org.restlet.ext.jetty.internal with parameters of type Request Modifier and Type Method Description StatusJettyClientCall. sendRequest(Request request)Sends the request to the client.voidJettyClientCall. sendRequest(Request request, Response response, Uniform callback) -
Uses of Request in org.restlet.ext.json
Methods in org.restlet.ext.json with parameters of type Request 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 Request in org.restlet.ext.nio
Methods in org.restlet.ext.nio that return Request Modifier and Type Method Description protected RequestBaseHelper. createRequest()Deprecated.Creates the request object.RequestHttpServerHelper. createRequest(Connection<Server> connection, java.lang.String methodName, java.lang.String resourceUri, java.lang.String protocol)Deprecated.RequestHttpsServerHelper. createRequest(Connection<Server> connection, java.lang.String methodName, java.lang.String resourceUri, java.lang.String protocol)Deprecated.abstract RequestServerConnectionHelper. createRequest(Connection<Server> connection, java.lang.String methodName, java.lang.String resourceUri, java.lang.String protocol)Deprecated.Creates a new request.RequestBaseHelper. getRequest(Response response)Deprecated.Returns the parent request of this response.Methods in org.restlet.ext.nio with parameters of type Request Modifier and Type Method Description protected Connection<Client>ClientConnectionHelper. getBestConnection(Request request)Deprecated.Tries to reuse an existing connection for the given request, or creates a new one.protected java.net.InetSocketAddressClientConnectionHelper. getSocketAddress(Request request)Deprecated.Returns an IP socket address representing the target host domain and port for a given request.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. -
Uses of Request in org.restlet.ext.nio.internal.request
Subclasses of Request in org.restlet.ext.nio.internal.request Modifier and Type Class Description classHttpInboundRequestDeprecated.Will be removed to favor lower-level network extensions allowing more control at the Restlet API level.classHttpsInboundRequestDeprecated.Will be removed to favor lower-level network extensions allowing more control at the Restlet API level.Methods in org.restlet.ext.nio.internal.request with parameters of type Request Modifier and Type Method Description static voidHttpInboundRequest. addHeader(Request request, java.lang.String headerName, java.lang.String headerValue)Deprecated.Adds a new header to the given request. -
Uses of Request in org.restlet.ext.nio.internal.way
Methods in org.restlet.ext.nio.internal.way that return Request Modifier and Type Method Description RequestClientOutboundWay. getActualMessage()Deprecated.Methods in org.restlet.ext.nio.internal.way with parameters of type Request Modifier and Type Method Description protected ResponseHttpServerInboundWay. createResponse(Request request)Deprecated.protected abstract ResponseServerInboundWay. createResponse(Request request)Deprecated.Creates a response object for the given request.protected static java.lang.StringOutboundWay. getVersion(Request request)Deprecated.Returns the protocol version. -
Uses of Request in org.restlet.ext.rdf
Constructors in org.restlet.ext.rdf with parameters of type Request Constructor Description RdfClientResource(Context context, Request request, Response response)Constructor.RdfClientResource(Request request, Response response)Constructor. -
Uses of Request in org.restlet.ext.velocity
Methods in org.restlet.ext.velocity with parameters of type Request 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 Request in org.restlet.ext.wadl
Methods in org.restlet.ext.wadl with parameters of type Request 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.protected VariantWadlApplication. getPreferredWadlVariant(Request request)Deprecated.Returns the preferred WADL variant according to the client preferences specified in the request.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 Request in org.restlet.ext.xml
Methods in org.restlet.ext.xml with parameters of type Request Modifier and Type Method Description protected voidTransformer. afterHandle(Request request, Response response)protected intTransformer. beforeHandle(Request request, Response response) -
Uses of Request in org.restlet.resource
Fields in org.restlet.resource declared as Request Modifier and Type Field Description private RequestResource. requestThe handled request.private RequestResourceException. requestThe request associated to this exception.Methods in org.restlet.resource that return Request Modifier and Type Method Description RequestClientResource. createRequest()Creates a new request by cloning the one wrapped by this class.RequestResource. getRequest()Returns the handled request.RequestResourceException. getRequest()Returns the request associated to this exception.Methods in org.restlet.resource with parameters of type Request 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.protected ResponseClientResource. createResponse(Request request)Creates a new response for the given request.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.ResponseClientResource. handleOutbound(Request request)Handles the outbound call by invoking the next handler.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. setRequest(Request request)Sets the handled request.Constructors in org.restlet.resource with parameters of type Request Constructor Description ClientResource(Context context, Request request)Constructor.ClientResource(Context context, Request request, Response response)Constructor.ClientResource(Request request)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 Request in org.restlet.routing
Methods in org.restlet.routing with parameters of type Request 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.private java.lang.StringRedirector. getLocation(Reference locationRef, Request request)Computes the new location of the given reference, after applying the redirection template.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.intTemplate. parse(java.lang.String formattedString, Request request)Attempts to parse a formatted reference.protected voidRedirector. rewrite(Request initialRequest)Optionally updates the request 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 Request in org.restlet.security
Methods in org.restlet.security with parameters of type Request 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)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.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 Request in org.restlet.service
Methods in org.restlet.service with parameters of type Request Modifier and Type Method Description VariantConnegService. getPreferredVariant(java.util.List<? extends Variant> variants, Request request, MetadataService metadataService)Returns the best variant representation for a given resource according the the client preferences.
A default language is provided in case the variants don't match the client preferences.RepresentationStatusService. getRepresentation(Status status, Request request, Response response)Deprecated.StatusStatusService. getStatus(java.lang.Throwable throwable, Request request, Response response)Deprecated.UseStatusService.toStatus(Throwable, Request, Response)instead.booleanLogService. isLoggable(Request request)Indicates if the call should be logged during the processing chain.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 Request in org.restlet.util
Subclasses of Request in org.restlet.util Modifier and Type Class Description classWrapperRequestRequest wrapper.Fields in org.restlet.util declared as Request Modifier and Type Field Description private RequestWrapperRequest. wrappedRequestThe wrapped request.Methods in org.restlet.util that return Request Modifier and Type Method Description RequestWrapperResponse. getRequest()Returns the associated requestprotected RequestWrapperRequest. getWrappedRequest()Returns the wrapped request.Methods in org.restlet.util with parameters of type Request Modifier and Type Method Description 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)voidWrapperResponse. setRequest(Request request)Sets the associated request.Constructors in org.restlet.util with parameters of type Request Constructor Description WrapperRequest(Request wrappedRequest)Constructor.
-