|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Reference | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.data | Element of information handled by a component via a connector. |
org.restlet.resource | Common resource and representation data elements. |
org.restlet.service | Service classes used by applications and components. |
org.restlet.util | Utility classes and interfaces used in the rest of the API. |
Uses of Reference in org.restlet |
---|
Methods in org.restlet that return Reference | |
---|---|
Reference |
Handler.generateRef(java.lang.String uriTemplate)
Generates a reference based on a template URI. |
Reference |
Directory.getRootRef()
Returns the root URI from which the relative resource URIs will be lookep up. |
protected Reference |
Redirector.getTargetRef(Request request,
Response response)
Returns the target reference to redirect to. |
Methods in org.restlet that return types with arguments of type Reference | |
---|---|
java.util.Comparator<Reference> |
Directory.getComparator()
Returns the reference comparator used to sort index pages. |
Methods in org.restlet with parameters of type Reference | |
---|---|
Response |
Uniform.delete(Reference resourceRef)
Deletes the identified resource. |
Response |
Uniform.get(Reference resourceRef)
Gets the identified resource. |
Response |
Uniform.head(Reference resourceRef)
Gets the identified resource without its representation's content. |
Response |
Uniform.options(Reference resourceRef)
Gets the options for the identified resource. |
Response |
Uniform.post(Reference resourceRef,
Representation entity)
Posts a representation to the identified resource. |
Response |
Uniform.put(Reference resourceRef,
Representation entity)
Puts a representation in the identified resource. |
protected void |
Redirector.redirectDispatcher(Reference targetRef,
Request request,
Response response)
Redirects a given call to a target reference. |
void |
Directory.setRootRef(Reference rootRef)
Sets the root URI from which the relative resource URIs will be lookep up. |
Method parameters in org.restlet with type arguments of type Reference | |
---|---|
void |
Directory.setComparator(java.util.Comparator<Reference> comparator)
Sets the reference comparator used to sort index pages. |
Constructors in org.restlet with parameters of type Reference | |
---|---|
Component(Reference xmlConfigReference)
Constructor with the reference to the XML configuration file. |
|
Directory(Context context,
Reference rootLocalReference)
Constructor. |
Uses of Reference in org.restlet.data |
---|
Subclasses of Reference in org.restlet.data | |
---|---|
class |
LocalReference
Reference to a local (i.e. |
Methods in org.restlet.data that return Reference | |
---|---|
Reference |
Reference.addQueryParameter(java.lang.String name,
java.lang.String value)
Adds a parameter to the query component. |
Reference |
Reference.addSegment(java.lang.String value)
Adds a segment at the end of the path. |
Reference |
Reference.clone()
|
Reference |
Reference.getBaseRef()
Returns the base reference for relative references. |
Reference |
Request.getHostRef()
Returns the host reference. |
Reference |
ReferenceList.getIdentifier()
Returns the list identifier. |
Reference |
LocalReference.getJarFileRef()
Returns the JAR file reference. |
Reference |
Response.getLocationRef()
Returns the reference that the client should follow for redirections or resource creations. |
Reference |
Request.getOriginalRef()
Returns the original reference as requested by the client. |
Reference |
Reference.getParentRef()
Returns the parent reference of a hierarchical reference. |
Reference |
Response.getRedirectRef()
Deprecated. Use getLocationRef() instead. |
Reference |
Request.getReferrerRef()
Returns the referrer reference if available. |
Reference |
Reference.getRelativeRef()
Returns the current reference as a relative reference to the current base reference. |
Reference |
Reference.getRelativeRef(Reference base)
Returns the current reference relatively to a base reference. |
Reference |
Request.getResourceRef()
Returns the reference of the target resource. |
Reference |
Request.getRootRef()
Returns the application root reference. |
Reference |
Reference.getTargetRef()
Returns the target reference. |
Reference |
Reference.normalize()
Normalizes the reference. |
Methods in org.restlet.data with parameters of type Reference | |
---|---|
static LocalReference |
LocalReference.createJarReference(Reference jarFile,
java.lang.String entryPath)
Constructor. |
Reference |
Reference.getRelativeRef(Reference base)
Returns the current reference relatively to a base reference. |
boolean |
Reference.isEquivalentTo(Reference ref)
Returns true if both reference are equivalent, meaning that they resolve to the same target reference. |
boolean |
Reference.isParent(Reference childRef)
Indicates if the reference is a parent of the hierarchical child reference. |
void |
Response.redirectPermanent(Reference targetRef)
Permanently redirects the client to a target URI. |
void |
Response.redirectSeeOther(Reference targetRef)
Redirects the client to a different URI that SHOULD be retrieved using a GET method on that resource. |
void |
Response.redirectTemporary(Reference targetRef)
Temporarily redirects the client to a target URI. |
void |
Reference.setBaseRef(Reference baseRef)
Sets the base reference for relative references. |
void |
Request.setHostRef(Reference hostRef)
Sets the host reference. |
void |
ReferenceList.setIdentifier(Reference identifier)
Sets the list reference. |
void |
Response.setLocationRef(Reference locationRef)
Sets the reference that the client should follow for redirections or resource creations. |
void |
Request.setOriginalRef(Reference originalRef)
Sets the original reference requested by the client. |
void |
Response.setRedirectRef(Reference locationRef)
Deprecated. Use the setLocationRef() method instead. |
void |
Request.setReferrerRef(Reference referrerRef)
Sets the referrer reference if available. |
void |
Request.setResourceRef(Reference resourceRef)
Sets the target resource reference. |
void |
Request.setRootRef(Reference rootRef)
Sets the application root reference. |
Constructors in org.restlet.data with parameters of type Reference | |
---|---|
LocalReference(Reference localRef)
Constructor. |
|
Reference(Reference ref)
Clone constructor. |
|
Reference(Reference baseRef,
Reference uriReference)
Constructor from an URI reference (most likely relative). |
|
Reference(Reference baseRef,
java.lang.String uriRef)
Constructor from an URI reference (most likely relative). |
|
Reference(Reference baseRef,
java.lang.String relativePart,
java.lang.String query,
java.lang.String fragment)
Constructor of relative reference from its parts. |
|
Request(Method method,
Reference resourceRef)
Constructor. |
|
Request(Method method,
Reference resourceRef,
Representation entity)
Constructor. |
Constructor parameters in org.restlet.data with type arguments of type Reference | |
---|---|
ReferenceList(java.util.List<Reference> delegate)
Constructor. |
Uses of Reference in org.restlet.resource |
---|
Methods in org.restlet.resource that return Reference | |
---|---|
Reference |
Variant.getIdentifier()
Returns an optional identifier. |
Methods in org.restlet.resource with parameters of type Reference | |
---|---|
void |
Variant.setIdentifier(Reference identifier)
Sets the optional identifier. |
Uses of Reference in org.restlet.service |
---|
Methods in org.restlet.service that return Reference | |
---|---|
Reference |
StatusService.getHomeRef()
Returns the home URI to propose in case of error. |
Methods in org.restlet.service with parameters of type Reference | |
---|---|
void |
StatusService.setHomeRef(Reference homeRef)
Sets the home URI to propose in case of error. |
Uses of Reference in org.restlet.util |
---|
Methods in org.restlet.util that return Reference | |
---|---|
Reference |
WrapperRequest.getHostRef()
Returns the host reference. |
Reference |
WrapperRepresentation.getIdentifier()
|
Reference |
WrapperResponse.getLocationRef()
Returns the reference that the client should follow for redirections or resource creations. |
Reference |
WrapperResponse.getRedirectRef()
Deprecated. Use the getLocationRef() method instead. |
Reference |
WrapperRequest.getReferrerRef()
Returns the referrer reference if available. |
Reference |
WrapperRequest.getResourceRef()
Returns the reference of the target resource. |
Reference |
WrapperRequest.getRootRef()
Returns the application root reference. |
Methods in org.restlet.util with parameters of type Reference | |
---|---|
void |
WrapperResponse.redirectPermanent(Reference targetRef)
Permanently redirects the client to a target URI. |
void |
WrapperResponse.redirectSeeOther(Reference targetRef)
Redirects the client to a different URI that SHOULD be retrieved using a GET method on that resource. |
void |
WrapperResponse.redirectTemporary(Reference targetRef)
Temporarily redirects the client to a target URI. |
void |
WrapperRequest.setHostRef(Reference hostRef)
Sets the host reference. |
void |
WrapperRepresentation.setIdentifier(Reference identifier)
|
void |
WrapperResponse.setLocationRef(Reference locationRef)
Sets the reference that the client should follow for redirections or resource creations. |
void |
WrapperResponse.setRedirectRef(Reference redirectRef)
Deprecated. Use the setLocationRef() method instead. |
void |
WrapperRequest.setReferrerRef(Reference referrerRef)
Sets the referrer reference if available. |
void |
WrapperRequest.setResourceRef(Reference resourceRef)
Sets the target resource reference. |
void |
WrapperRequest.setRootRef(Reference rootRef)
Sets the application root reference. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |