Uses of Class
org.restlet.service.MetadataService
-
Packages that use MetadataService Package Description org.restlet Core classes of the API.org.restlet.engine Implementation of Restlet API.org.restlet.engine.application Supports Restlet applications.org.restlet.engine.local Supports local connectors and resources.org.restlet.engine.resource Supports resources.org.restlet.ext.jaxrs Support for JAX-RS API.org.restlet.ext.jaxrs.internal.wrappers.provider org.restlet.resource Client and server resource classes.org.restlet.service Services used by applications and components. -
-
Uses of MetadataService in org.restlet
Methods in org.restlet that return MetadataService Modifier and Type Method Description MetadataServiceApplication. getMetadataService()Returns the metadata service.Methods in org.restlet with parameters of type MetadataService Modifier and Type Method Description voidApplication. setMetadataService(MetadataService metadataService)Sets the metadata service. -
Uses of MetadataService in org.restlet.engine
Methods in org.restlet.engine that return MetadataService Modifier and Type Method Description MetadataServiceRestletHelper. getMetadataService()Returns the metadata service. -
Uses of MetadataService in org.restlet.engine.application
Methods in org.restlet.engine.application that return MetadataService Modifier and Type Method Description MetadataServiceTunnelFilter. getMetadataService()Returns the metadata service of the parent application.Constructors in org.restlet.engine.application with parameters of type MetadataService Constructor Description Conneg(Request request, MetadataService metadataService)Constructor.FlexibleConneg(Request request, MetadataService metadataService)Constructor.StrictConneg(Request request, MetadataService metadataService)Constructor. -
Uses of MetadataService in org.restlet.engine.local
Fields in org.restlet.engine.local declared as MetadataService Modifier and Type Field Description private MetadataServiceEntity. metadataServiceThe metadata service to use.Methods in org.restlet.engine.local that return MetadataService Modifier and Type Method Description MetadataServiceEntity. getMetadataService()Returns the metadata service to use.Methods in org.restlet.engine.local with parameters of type MetadataService Modifier and Type Method Description static java.lang.StringEntity. getBaseName(java.lang.String name, MetadataService metadataService)Return the base name that is to say the longest part of a given name without known extensions (beginning from the left).static java.util.Collection<java.lang.String>Entity. getExtensions(java.lang.String name, MetadataService metadataService)Returns the list of known extensions taken from a given entity name.static java.util.Collection<java.lang.String>Entity. getExtensions(Variant variant, MetadataService metadataService)Returns the list of known extensions taken from a given variant.protected voidZipClientHelper. handleGet(Request request, Response response, java.io.File file, java.lang.String entryName, MetadataService metadataService)Handles a GET call.static voidEntity. updateMetadata(java.lang.String entryName, Variant variant, boolean applyDefault, MetadataService metadataService)Updates some variant metadata based on a given entry name with extensions.Constructors in org.restlet.engine.local with parameters of type MetadataService Constructor Description Entity(MetadataService metadataService)Constructor.FileEntity(java.io.File file, MetadataService metadataService)Constructor.ZipEntryEntity(java.util.zip.ZipFile zipFile, java.lang.String entryName, MetadataService metadataService)Constructor.ZipEntryEntity(java.util.zip.ZipFile zipFile, java.util.zip.ZipEntry entry, MetadataService metadataService)Constructor. -
Uses of MetadataService in org.restlet.engine.resource
Methods in org.restlet.engine.resource with parameters of type MetadataService Modifier and Type Method Description MethodAnnotationInfoAnnotationUtils. getMethodAnnotation(java.util.List<AnnotationInfo> annotations, Method restletMethod, Form query, Representation entity, MetadataService metadataService, ConverterService converterService)Returns the first annotation descriptor matching the given Restlet method.java.util.List<Variant>MethodAnnotationInfo. getRequestVariants(MetadataService metadataService, ConverterService converterService)Returns a list of request variants based on the annotation value.java.util.List<Variant>MethodAnnotationInfo. getResponseVariants(MetadataService metadataService, ConverterService converterService)Returns a list of response variants based on the annotation value.private java.util.List<Variant>MethodAnnotationInfo. getVariants(MetadataService metadataService, java.lang.String annotationValue)Returns the list of representation variants associated to a given annotation value, corresponding to either an input or output entity.booleanMethodAnnotationInfo. isCompatible(Method restletMethod, Form queryParams, Representation requestEntity, MetadataService metadataService, ConverterService converterService)Indicates if the annotated method described is compatible with the given parameters.booleanMethodAnnotationInfo. isCompatibleRequestEntity(Representation requestEntity, MetadataService metadataService, ConverterService converterService)Indicates if the given request entity is compatible with the annotated method described. -
Uses of MetadataService in org.restlet.ext.jaxrs
Constructors in org.restlet.ext.jaxrs with parameters of type MetadataService Constructor Description JaxRsRestlet(Context context, MetadataService metadataService)Deprecated.Creates a new JaxRsRestlet with the given Context. -
Uses of MetadataService in org.restlet.ext.jaxrs.internal.wrappers.provider
Fields in org.restlet.ext.jaxrs.internal.wrappers.provider declared as MetadataService Modifier and Type Field Description private MetadataServiceExtensionBackwardMapping. metadataServiceDeprecated.Constructors in org.restlet.ext.jaxrs.internal.wrappers.provider with parameters of type MetadataService Constructor Description ExtensionBackwardMapping(MetadataService metadataService)Deprecated.Creates a new ExtensionBackwardMapping -
Uses of MetadataService in org.restlet.resource
Methods in org.restlet.resource that return MetadataService Modifier and Type Method Description MetadataServiceResource. getMetadataService()Returns the application's metadata service or create a new one. -
Uses of MetadataService in org.restlet.service
Fields in org.restlet.service declared as MetadataService Modifier and Type Field Description private MetadataServiceStatusService. metadataServiceThe service used to select the preferred variant.Methods in org.restlet.service that return MetadataService Modifier and Type Method Description MetadataServiceStatusService. getMetadataService()Returns the service used to select the preferred variant.Methods in org.restlet.service with parameters of type MetadataService 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.voidStatusService. setMetadataService(MetadataService metadataService)Sets the service used to select the preferred variant.Constructors in org.restlet.service with parameters of type MetadataService Constructor Description StatusService(boolean enabled, ConverterService converterService, MetadataService metadataService, ConnegService connegService)Constructor.
-