Uses of Class
org.restlet.resource.Resource
-
Packages that use Resource Package Description org.restlet.engine.converter Supports the converter service.org.restlet.engine.local Supports local connectors and resources.org.restlet.ext.atom Support for the Atom syndication and the AtomPub (Atom Publication Protocol) standards in their 1.0 version.org.restlet.ext.emf Integration with EMF @minor-version@.org.restlet.ext.gson Integration with Gson @minor-version@.org.restlet.ext.guice Integration with Google Guice @minor-version@.org.restlet.ext.html Support for the HTML (HyperText Markup Language) standard in its 4.0 version and above.org.restlet.ext.jackson Integration with Jackson @minor-version@.org.restlet.ext.javamail Integration with JavaMail @minor-version@ (POP3 and SMTP clients).org.restlet.ext.jaxb Integration with Java XML Binding (JAXB) @minor-version@.org.restlet.ext.jaxrs Support for JAX-RS API.org.restlet.ext.json Support for JSON representations.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.service Services used by applications and components. -
-
Uses of Resource in org.restlet.engine.converter
Methods in org.restlet.engine.converter with parameters of type Resource Modifier and Type Method Description static ConverterHelperConverterUtils. getBestHelper(java.lang.Object source, Variant target, Resource resource)Returns the best converter helper matching the given parameters.static <T> ConverterHelperConverterUtils. getBestHelper(Representation source, java.lang.Class<T> target, Resource resource)Returns the best converter helper matching the given parameters.abstract floatConverterHelper. score(java.lang.Object source, Variant target, Resource resource)Scores the affinity of this helper with the source class.abstract <T> floatConverterHelper. score(Representation source, java.lang.Class<T> target, Resource resource)Scores the affinity of this helper with the source class.floatDefaultConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatDefaultConverter. score(Representation source, java.lang.Class<T> target, Resource resource)floatStatusInfoHtmlConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatStatusInfoHtmlConverter. score(Representation source, java.lang.Class<T> target, Resource resource)abstract <T> TConverterHelper. toObject(Representation source, java.lang.Class<T> target, Resource resource)Converts a Representation into a regular Java object.<T> TDefaultConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)<T> TStatusInfoHtmlConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)abstract RepresentationConverterHelper. toRepresentation(java.lang.Object source, Variant target, Resource resource)Converts a regular Java object into a Representation.RepresentationDefaultConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource)RepresentationStatusInfoHtmlConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.engine.local
Subclasses of Resource in org.restlet.engine.local Modifier and Type Class Description classDirectoryServerResourceResource supported by a set of context representations (from file system, class loaders and webapp context). -
Uses of Resource in org.restlet.ext.atom
Methods in org.restlet.ext.atom with parameters of type Resource Modifier and Type Method Description floatAtomConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatAtomConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> TAtomConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationAtomConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.ext.emf
Methods in org.restlet.ext.emf with parameters of type Resource Modifier and Type Method Description floatEmfConverter. score(java.lang.Object source, Variant target, Resource resource)Deprecated.<T> floatEmfConverter. score(Representation source, java.lang.Class<T> target, Resource resource)Deprecated.<T> TEmfConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)Deprecated.RepresentationEmfConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource)Deprecated. -
Uses of Resource in org.restlet.ext.gson
Methods in org.restlet.ext.gson with parameters of type Resource Modifier and Type Method Description floatGsonConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatGsonConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> TGsonConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationGsonConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.ext.guice
Subclasses of Resource in org.restlet.ext.guice Modifier and Type Class Description classSelfInjectingServerResourceBase class for ServerResources that do their own member injection. -
Uses of Resource in org.restlet.ext.html
Methods in org.restlet.ext.html with parameters of type Resource Modifier and Type Method Description floatHtmlConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatHtmlConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> THtmlConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationHtmlConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.ext.jackson
Methods in org.restlet.ext.jackson with parameters of type Resource Modifier and Type Method Description floatJacksonConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatJacksonConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> TJacksonConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationJacksonConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.ext.javamail
Subclasses of Resource in org.restlet.ext.javamail Modifier and Type Class Description classTriggerResourceDeprecated.Will be removed in next major release.Methods in org.restlet.ext.javamail with parameters of type Resource Modifier and Type Method Description floatJavaMailConverter. score(java.lang.Object source, Variant target, Resource resource)Deprecated.<T> floatJavaMailConverter. score(Representation source, java.lang.Class<T> target, Resource resource)Deprecated.<T> TJavaMailConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)Deprecated.RepresentationJavaMailConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource)Deprecated. -
Uses of Resource in org.restlet.ext.jaxb
Methods in org.restlet.ext.jaxb with parameters of type Resource Modifier and Type Method Description floatJaxbConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatJaxbConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> TJaxbConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationJaxbConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.ext.jaxrs
Subclasses of Resource in org.restlet.ext.jaxrs Modifier and Type Class Description classJaxRsClientResourceDeprecated.Will be removed in next minor release. -
Uses of Resource in org.restlet.ext.json
Methods in org.restlet.ext.json with parameters of type Resource Modifier and Type Method Description floatJsonConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatJsonConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> TJsonConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationJsonConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.ext.rdf
Subclasses of Resource in org.restlet.ext.rdf Modifier and Type Class Description classRdfClientResourceLinked client resource.Methods in org.restlet.ext.rdf with parameters of type Resource Modifier and Type Method Description floatRdfConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatRdfConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> TRdfConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationRdfConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.ext.velocity
Methods in org.restlet.ext.velocity with parameters of type Resource Modifier and Type Method Description floatVelocityConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatVelocityConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> TVelocityConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationVelocityConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.ext.wadl
Subclasses of Resource in org.restlet.ext.wadl Modifier and Type Class Description classWadlServerResourceDeprecated.Will be removed in next major release.Methods in org.restlet.ext.wadl with parameters of type Resource Modifier and Type Method Description floatWadlConverter. score(java.lang.Object source, Variant target, Resource resource)Deprecated.<T> floatWadlConverter. score(Representation source, java.lang.Class<T> target, Resource resource)Deprecated.<T> TWadlConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)Deprecated.RepresentationWadlConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource)Deprecated. -
Uses of Resource in org.restlet.ext.xml
Methods in org.restlet.ext.xml with parameters of type Resource Modifier and Type Method Description floatXmlConverter. score(java.lang.Object source, Variant target, Resource resource)<T> floatXmlConverter. score(Representation source, java.lang.Class<T> target, Resource resource)<T> TXmlConverter. toObject(Representation source, java.lang.Class<T> target, Resource resource)RepresentationXmlConverter. toRepresentation(java.lang.Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.resource
Subclasses of Resource in org.restlet.resource Modifier and Type Class Description classClientResourceClient-side resource.classServerResourceBase class for server-side resources.Constructors in org.restlet.resource with parameters of type Resource Constructor Description ResourceException(Status status, Resource resource)Deprecated.use constructor with status, request and response instead. -
Uses of Resource in org.restlet.service
Methods in org.restlet.service with parameters of type Resource Modifier and Type Method Description StatusStatusService. getStatus(java.lang.Throwable throwable, Resource resource)Deprecated.UseStatusService.toStatus(Throwable, Resource)instead.<T> TConverterService. toObject(Representation source, java.lang.Class<T> target, Resource resource)Converts a Representation into a regular Java object.RepresentationConverterService. toRepresentation(java.lang.Object source, Variant target, Resource resource)Converts a regular Java object into a Representation.RepresentationStatusService. toRepresentation(Status status, Resource resource)Returns a representation for the given status.
In order to customize the default representation, this method can be overridden.StatusStatusService. toStatus(java.lang.Throwable throwable, Resource resource)Returns a status for a given exception or error.
-