Uses of Class
org.restlet.ext.jaxrs.internal.util.SortedMetadata
-
Packages that use SortedMetadata Package Description org.restlet.ext.jaxrs Support for JAX-RS API.org.restlet.ext.jaxrs.internal.core org.restlet.ext.jaxrs.internal.util org.restlet.ext.jaxrs.internal.wrappers org.restlet.ext.jaxrs.internal.wrappers.provider -
-
Uses of SortedMetadata in org.restlet.ext.jaxrs
Methods in org.restlet.ext.jaxrs with parameters of type SortedMetadata Modifier and Type Method Description private RepresentationJaxRsRestlet. convertToRepresentation(java.lang.Object entity, ResourceMethod resourceMethod, MediaType jaxRsResponseMediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> jaxRsRespHeaders, SortedMetadata<MediaType> accMediaTypes)Deprecated.Converts the given entity - returned by the resource method - to a RestletRepresentation. -
Uses of SortedMetadata in org.restlet.ext.jaxrs.internal.core
Fields in org.restlet.ext.jaxrs.internal.core declared as SortedMetadata Modifier and Type Field Description private SortedMetadata<MediaType>CallContext. accMediaTypesDeprecated.Methods in org.restlet.ext.jaxrs.internal.core that return SortedMetadata Modifier and Type Method Description SortedMetadata<MediaType>CallContext. getAccMediaTypes()Deprecated.Returns the accepted media types as RestletMediaTypes. -
Uses of SortedMetadata in org.restlet.ext.jaxrs.internal.util
Methods in org.restlet.ext.jaxrs.internal.util that return SortedMetadata Modifier and Type Method Description static SortedMetadata<MediaType>SortedMetadata. get(MediaType respMediaType)Deprecated.static SortedMetadata<MediaType>SortedMetadata. getEmptyMediaTypes()Deprecated.Returns an empty SortedMetadatastatic SortedMetadata<Language>SortedMetadata. getForLanguages(java.util.Collection<Preference<Language>> preferences)Deprecated.Creates a newSortedMetadataforMediaTypes.static SortedMetadata<MediaType>SortedMetadata. getForMediaTypes(java.util.Collection<Preference<MediaType>> preferences)Deprecated.Creates a newSortedMetadataforMediaTypes.static SortedMetadata<MediaType>SortedMetadata. getMediaTypeAll()Deprecated.Creates a SortedMetadata collection with exactly theMediaType'*/*''static SortedMetadata<MediaType>SortedMetadata. singleton(MediaType mediaType)Deprecated.Methods in org.restlet.ext.jaxrs.internal.util with parameters of type SortedMetadata Modifier and Type Method Description private static OrderedMap<ResourceMethod,java.util.List<MediaType>>AlgorithmUtil. findMethodsSupportType(java.util.Collection<ResourceMethod> resourceMethods, AlgorithmUtil.ConsOrProdMime inOut, SortedMetadata<MediaType> mediaTypes)Deprecated.private static OrderedMap<ResourceMethod,java.util.List<MediaType>>AlgorithmUtil. findMethodsSupportTypeAndSubType(java.util.Collection<ResourceMethod> resourceMethods, AlgorithmUtil.ConsOrProdMime inOut, SortedMetadata<MediaType> mediaTypes)Deprecated.private static OrderedMap<ResourceMethod,java.util.List<MediaType>>AlgorithmUtil. findMethodSupportsMime(java.util.Collection<ResourceMethod> resourceMethods, AlgorithmUtil.ConsOrProdMime inOut, SortedMetadata<MediaType> mediaTypes)Deprecated.static ResourceMethodAlgorithmUtil. getBestMethod(java.util.Collection<ResourceMethod> unsortedResourceMethods, MediaType givenMediaType, SortedMetadata<MediaType> accMediaTypes, Method requHttpMethod)Deprecated.Sort by using the media type of input data as the primary key and the media type of output data as the secondary key.
Sorting of media types follows the general rule: x/y < x/* < */*, i.e.javax.ws.rs.WebApplicationExceptionExceptionHandler. noMessageBodyWriter(java.lang.Class<? extends java.lang.Object> entityClass, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType respMediaType, SortedMetadata<MediaType> accMediaTypes)Deprecated. -
Uses of SortedMetadata in org.restlet.ext.jaxrs.internal.wrappers
Methods in org.restlet.ext.jaxrs.internal.wrappers with parameters of type SortedMetadata Modifier and Type Method Description booleanResourceMethod. isAcceptedMediaTypeSupported(SortedMetadata<MediaType> accMediaTypess)Deprecated.Check if this method supports the media type to produce for a request. -
Uses of SortedMetadata in org.restlet.ext.jaxrs.internal.wrappers.provider
Methods in org.restlet.ext.jaxrs.internal.wrappers.provider with parameters of type SortedMetadata Modifier and Type Method Description MessageBodyWriterMessageBodyWriterSubSet. getBestWriter(MediaType determinedResponseMediaType, java.lang.annotation.Annotation[] annotations, SortedMetadata<MediaType> accMediaTypes)Deprecated.Finds aMessageBodyWriterin this Set that best matches media types of the response method and of the acceptedMediaTypes.
-