Uses of Class
org.restlet.data.Reference
Packages that use Reference
Package
Description
Core classes of the Restlet API.
Information exchanged by components.
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
Supports local connectors and resources.
Supports security.
General utilities.
Common representation data elements.
Client and server resource classes.
Classes related to call routing.
Services used by applications and components.
Various utility classes.
-
Uses of Reference in org.restlet
Methods in org.restlet that return ReferenceModifier and TypeMethodDescriptionRequest.getHostRef()Returns the host reference.Response.getLocationRef()Returns the location reference.Request.getOriginalRef()Returns the original reference as requested by the client.Request.getReferrerRef()Returns the referrer reference if available.Request.getResourceRef()Returns the reference of the target resource.Request.getRootRef()Returns the application root reference.Methods in org.restlet with parameters of type ReferenceModifier and TypeMethodDescriptionvoidResponse.redirectPermanent(Reference targetRef) Permanently redirects the client to a target URI.voidResponse.redirectSeeOther(Reference targetRef) Redirects the client to a different URI that SHOULD be retrieved using a GET method on that resource.voidResponse.redirectTemporary(Reference targetRef) Temporarily redirects the client to a target URI.voidRequest.setHostRef(Reference hostRef) Sets the host reference.voidResponse.setLocationRef(Reference locationRef) Sets the reference that the client should follow for redirections or resource creations.voidRequest.setOriginalRef(Reference originalRef) Sets the original reference requested by the client.voidRequest.setReferrerRef(Reference referrerRef) Sets the referrer reference if available.voidRequest.setResourceRef(Reference resourceRef) Sets the target resource reference.voidRequest.setRootRef(Reference rootRef) Sets the application root reference.Constructors in org.restlet with parameters of type Reference -
Uses of Reference in org.restlet.data
Subclasses of Reference in org.restlet.dataMethods in org.restlet.data that return ReferenceModifier and TypeMethodDescriptionReference.addQueryParameter(String name, String value) Adds a parameter to the query component.Reference.addQueryParameter(Parameter parameter) Adds a parameter to the query component.Reference.addQueryParameters(Iterable<Parameter> parameters) Adds several parameters to the query component.Reference.addSegment(String value) Adds a segment at the end of the path.Reference.clone()Reference.getBaseRef()Returns the base reference for relative references.ChallengeResponse.getDigestRef()Returns theRequest.getResourceRef()value duplicated here in case a proxy changed it.ReferenceList.getIdentifier()Returns the list identifier.LocalReference.getJarFileRef()Returns the JAR file reference.Reference.getParentRef()Returns the parent reference of a hierarchical reference.Reference.getRelativeRef()Returns the current reference as a relative reference to the current base reference.Reference.getRelativeRef(Reference base) Returns the current reference relatively to a base reference.Reference.getTargetRef()Returns the target reference.Reference.normalize()Normalizes the reference.Methods in org.restlet.data that return types with arguments of type ReferenceModifier and TypeMethodDescriptionChallengeRequest.getDomainRefs()Returns the base URI references that collectively define the protected domains for the digest authentication.Methods in org.restlet.data with parameters of type ReferenceModifier and TypeMethodDescriptionstatic LocalReferenceLocalReference.createJarReference(Reference jarFile, String entryPath) Constructor.static LocalReferenceLocalReference.createZipReference(Reference zipFile, String entryPath) Constructor.Reference.getRelativeRef(Reference base) Returns the current reference relatively to a base reference.booleanReference.isEquivalentTo(Reference ref) Returns true if both reference are equivalent, meaning that they resolve to the same target reference.booleanIndicates if the reference is a parent of the hierarchical child reference.voidReference.setBaseRef(Reference baseRef) Sets the base reference for relative references.voidChallengeResponse.setDigestRef(Reference digestRef) Sets the digest URI reference.voidReferenceList.setIdentifier(Reference identifier) Sets the list reference.Method parameters in org.restlet.data with type arguments of type ReferenceModifier and TypeMethodDescriptionvoidChallengeRequest.setDomainRefs(List<Reference> domainRefs) Sets the URI references that define the protection domains for the digest authentication.Constructors in org.restlet.data with parameters of type ReferenceModifierConstructorDescriptionChallengeResponse(ChallengeScheme scheme, Series<Parameter> parameters, String identifier, char[] secret, String secretAlgorithm, String realm, String quality, Reference digestRef, String digestAlgorithm, String opaque, String clientNonce, String serverNonce, int serverNonceCount, long timeIssued) Constructor.LocalReference(Reference localRef) Constructor.Clone constructor.Constructor from a URI reference (most likely relative).Constructor of relative reference from its parts.Constructor from an URI reference (most likely relative).Constructor parameters in org.restlet.data with type arguments of type Reference -
Uses of Reference in org.restlet.engine.adapter
Methods in org.restlet.engine.adapter that return ReferenceModifier and TypeMethodDescriptionHttpRequest.getReferrerRef()Returns the referrer reference if available. -
Uses of Reference in org.restlet.engine.local
Methods in org.restlet.engine.local that return ReferenceModifier and TypeMethodDescriptionEntityClientHelper.createReference(String scheme, String encodedParentDirPath, String encodedEntityName, String decodedVariantName) Generate a Reference for a variant name (which is URL decoded) and handle the translation between the incoming requested path (which is URL encoded). -
Uses of Reference in org.restlet.engine.security
Methods in org.restlet.engine.security that return ReferenceModifier and TypeMethodDescriptionAuthenticatorHelper.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.Methods in org.restlet.engine.security with parameters of type ReferenceModifier and TypeMethodDescriptionAuthenticatorHelper.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 Reference in org.restlet.engine.util
Methods in org.restlet.engine.util that return ReferenceModifier and TypeMethodDescriptionstatic ReferenceReferenceUtils.getOriginalRef(Reference resourceRef, Series<Header> headers) Returns the original reference especially by detecting potential proxy forwardings.static ReferenceReturns the request URI.Methods in org.restlet.engine.util with parameters of type ReferenceModifier and TypeMethodDescriptionintCompares two references.static StringReturns the request URI.static ReferenceReferenceUtils.getOriginalRef(Reference resourceRef, Series<Header> headers) Returns the original reference especially by detecting potential proxy forwardings.static ReferenceReturns the request URI. -
Uses of Reference in org.restlet.representation
Methods in org.restlet.representation that return ReferenceModifier and TypeMethodDescriptionVariant.getLocationRef()Returns an optional location reference.Methods in org.restlet.representation with parameters of type ReferenceModifier and TypeMethodDescriptionvoidVariant.setLocationRef(Reference location) Sets the optional identifier. -
Uses of Reference in org.restlet.resource
Methods in org.restlet.resource that return ReferenceModifier and TypeMethodDescriptionClientResource.addQueryParameter(String name, String value) Adds a parameter to the query component.ClientResource.addQueryParameter(Parameter parameter) Adds a parameter to the query component.ClientResource.addQueryParameters(Iterable<Parameter> parameters) Adds several parameters to the query component.ClientResource.addSegment(String value) Adds a segment at the end of the path.Resource.getHostRef()Returns the host reference.Resource.getLocationRef()Returns the reference that the client should follow for redirections or resource creations.Resource.getOriginalRef()Returns the original reference as requested by the client.Resource.getReference()Returns the URI reference.Resource.getReferrerRef()Returns the referrer reference if available.Directory.getRootRef()Returns the root URI from which the relative resource URIs will be looked up.Resource.getRootRef()Returns the application root reference.Methods in org.restlet.resource that return types with arguments of type ReferenceModifier and TypeMethodDescriptionDirectory.getComparator()Returns the reference comparator used to sort index pages.Methods in org.restlet.resource with parameters of type ReferenceModifier and TypeMethodDescriptionstatic <T> TCreates a client resource that proxy calls to the given Java interface into Restlet method calls.static <T> TCreates a client resource that proxy calls to the given Java interface into Restlet method calls.Returns the child resource defined by its URI relatively to the current resource.<T> TWraps the child client resource to proxy calls to the given Java interface into Restlet method calls.voidServerResource.redirectPermanent(Reference targetRef) Permanently redirects the client to a target URI.voidServerResource.redirectSeeOther(Reference targetRef) Redirects the client to a different URI that SHOULD be retrieved using a GET method on that resource.voidServerResource.redirectTemporary(Reference targetRef) Temporarily redirects the client to a target URI.voidClientResource.setHostRef(Reference hostRef) Sets the host reference.voidServerResource.setLocationRef(Reference locationRef) Sets the reference that the client should follow for redirections or resource creations.voidClientResource.setOriginalRef(Reference originalRef) Sets the original reference requested by the client.voidClientResource.setReference(Reference reference) Sets the resource's reference.voidClientResource.setReferrerRef(Reference referrerRef) Sets the referrer reference if available.voidDirectory.setRootRef(Reference rootRef) Sets the root URI from which the relative resource URIs will be lookep up.Method parameters in org.restlet.resource with type arguments of type ReferenceModifier and TypeMethodDescriptionprotected voidClientResource.handle(Request request, Response response, List<Reference> references, int retryAttempt, Uniform next) Handle the call and follow redirection for safe methods.protected voidClientResource.redirect(Request request, Response response, List<Reference> references, int retryAttempt, Uniform next) Effectively redirects a client call.protected voidClientResource.retry(Request request, Response response, List<Reference> references, int retryAttempt, Uniform next) Effectively retries a failed client call.voidDirectory.setComparator(Comparator<Reference> comparator) Sets the reference comparator used to sort index pages.Constructors in org.restlet.resource with parameters of type ReferenceModifierConstructorDescriptionClientResource(Context context, Method method, Reference reference) Constructor.ClientResource(Context context, Reference reference) Constructor.ClientResource(Method method, Reference reference) Constructor.ClientResource(Reference reference) Constructor.Constructor. -
Uses of Reference in org.restlet.routing
Methods in org.restlet.routing that return ReferenceModifier and TypeMethodDescriptionprotected 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.Methods in org.restlet.routing with parameters of type ReferenceModifier and TypeMethodDescriptionprotected 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.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 Reference in org.restlet.service
Methods in org.restlet.service that return ReferenceModifier and TypeMethodDescriptionStatusService.getHomeRef()Returns the home URI to propose in case of error.LogService.getLogPropertiesRef()Returns the URI reference of the log properties.Methods in org.restlet.service with parameters of type ReferenceModifier and TypeMethodDescriptionvoidStatusService.setHomeRef(Reference homeRef) Sets the home URI to propose in case of error.voidLogService.setLogPropertiesRef(Reference logPropertiesRef) Sets the URI reference of the log properties. -
Uses of Reference in org.restlet.util
Methods in org.restlet.util that return ReferenceModifier and TypeMethodDescriptionWrapperRequest.getHostRef()Returns the host reference.WrapperRepresentation.getLocationRef()WrapperResponse.getLocationRef()Returns the reference that the client should follow for redirections or resource creations.WrapperRequest.getOriginalRef()WrapperRequest.getReferrerRef()Returns the referrer reference if available.WrapperRequest.getResourceRef()Returns the reference of the target resource.WrapperRequest.getRootRef()Returns the application root reference.Methods in org.restlet.util with parameters of type ReferenceModifier and TypeMethodDescriptionvoidWrapperResponse.redirectPermanent(Reference targetRef) Permanently redirects the client to a target URI.voidWrapperResponse.redirectSeeOther(Reference targetRef) Redirects the client to a different URI that SHOULD be retrieved using a GET method on that resource.voidWrapperResponse.redirectTemporary(Reference targetRef) Temporarily redirects the client to a target URI.voidWrapperRequest.setHostRef(Reference hostRef) Sets the host reference.voidWrapperRepresentation.setLocationRef(Reference location) voidWrapperResponse.setLocationRef(Reference locationRef) Sets the reference that the client should follow for redirections or resource creations.voidWrapperRequest.setOriginalRef(Reference originalRef) voidWrapperRequest.setReferrerRef(Reference referrerRef) Sets the referrer reference if available.voidWrapperRequest.setResourceRef(Reference resourceRef) Sets the target resource reference.voidWrapperRequest.setRootRef(Reference rootRef) Sets the application root reference.