Uses of Class
org.restlet.resource.Resource
Packages that use Resource
Package
Description
Supports the converter service.
Supports local connectors and resources.
Client and server resource classes.
Services used by applications and components.
-
Uses of Resource in org.restlet.engine.converter
Methods in org.restlet.engine.converter with parameters of type ResourceModifier and TypeMethodDescriptionstatic ConverterHelperConverterUtils.getBestHelper(Object source, Variant target, Resource resource) Returns the best converter helper matching the given parameters.static <T> ConverterHelperConverterUtils.getBestHelper(Representation source, Class<T> target, Resource resource) Returns the best converter helper matching the given parameters.abstract floatScores the affinity of this helper with the source class.abstract <T> floatConverterHelper.score(Representation source, Class<T> target, Resource resource) Scores the affinity of this helper with the source class.float<T> floatDefaultConverter.score(Representation source, Class<T> target, Resource resource) float<T> floatStatusInfoHtmlConverter.score(Representation source, Class<T> target, Resource resource) abstract <T> TConverterHelper.toObject(Representation source, Class<T> target, Resource resource) Converts a Representation into a regular Java object.<T> TDefaultConverter.toObject(Representation source, Class<T> target, Resource resource) <T> TStatusInfoHtmlConverter.toObject(Representation source, Class<T> target, Resource resource) abstract RepresentationConverterHelper.toRepresentation(Object source, Variant target, Resource resource) Converts a regular Java object into a Representation.DefaultConverter.toRepresentation(Object source, Variant target, Resource resource) StatusInfoHtmlConverter.toRepresentation(Object source, Variant target, Resource resource) -
Uses of Resource in org.restlet.engine.local
Subclasses of Resource in org.restlet.engine.localModifier and TypeClassDescriptionclassResource supported by a set of context representations (from file system, class loaders and webapp context). -
Uses of Resource in org.restlet.resource
Subclasses of Resource in org.restlet.resourceModifier and TypeClassDescriptionclassClient-side resource.classBase class for server-side resources. -
Uses of Resource in org.restlet.service
Methods in org.restlet.service with parameters of type ResourceModifier and TypeMethodDescription<T> TConverterService.toObject(Representation source, Class<T> target, Resource resource) Converts a Representation into a regular Java object.ConverterService.toRepresentation(Object source, Variant target, Resource resource) Converts a regular Java object into a Representation.StatusService.toRepresentation(Status status, Resource resource) Returns a representation for the given status.
In order to customize the default representation, this method can be overridden.Returns a status for a given exception or error.