Uses of Class
org.restlet.ext.jaxrs.internal.wrappers.ResourceMethod
-
Packages that use ResourceMethod Package Description org.restlet.ext.jaxrs Support for JAX-RS API.org.restlet.ext.jaxrs.internal.util org.restlet.ext.jaxrs.internal.wrappers -
-
Uses of ResourceMethod in org.restlet.ext.jaxrs
Fields in org.restlet.ext.jaxrs declared as ResourceMethod Modifier and Type Field Description private ResourceMethodJaxRsRestlet.ResObjAndMeth. resourceMethodMethods in org.restlet.ext.jaxrs with parameters of type ResourceMethod 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.private MediaTypeJaxRsRestlet. determineMediaType(MediaType jaxRsResponseMediaType, ResourceMethod resourceMethod, java.lang.Class<?> entityClass, java.lang.reflect.Type genericReturnType)Deprecated.Determines the MediaType for a response, see JAX-RS-Spec (2008-08-27), section 3.8 "Determining the MediaType of Responses"private voidJaxRsRestlet. handleResult(java.lang.Object result, ResourceMethod resourceMethod)Deprecated.Sets the result of the resource method invocation into the response.private java.lang.ObjectJaxRsRestlet. invokeMethod(ResourceMethod resourceMethod, ResourceObject resourceObject)Deprecated.Invokes the (sub) resource method.private voidJaxRsRestlet. jaxRsRespToRestletResp(javax.ws.rs.core.Response jaxRsResponse, ResourceMethod resourceMethod)Deprecated.Converts the given JAX-RSResponseto a RestletResponse.Constructors in org.restlet.ext.jaxrs with parameters of type ResourceMethod Constructor Description ResObjAndMeth(ResourceObject resourceObject, ResourceMethod resourceMethod) -
Uses of ResourceMethod in org.restlet.ext.jaxrs.internal.util
Fields in org.restlet.ext.jaxrs.internal.util with type parameters of type ResourceMethod Modifier and Type Field Description private static java.util.Comparator<ResourceMethod>AlgorithmUtil. COMPDeprecated.Sorts the ResourceMethods by it's number of non default regular expressionsMethods in org.restlet.ext.jaxrs.internal.util that return ResourceMethod Modifier and Type Method Description 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.Methods in org.restlet.ext.jaxrs.internal.util that return types with arguments of type ResourceMethod Modifier and Type Method Description private static OrderedMap<ResourceMethod,java.util.List<MediaType>>AlgorithmUtil. findMethodsSupportAllTypes(java.util.Collection<ResourceMethod> resourceMethods, AlgorithmUtil.ConsOrProdMime inOut)Deprecated.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.Methods in org.restlet.ext.jaxrs.internal.util with parameters of type ResourceMethod Modifier and Type Method Description private static java.util.List<MediaType>AlgorithmUtil. getConsOrProdMimes(ResourceMethod resourceMethod, AlgorithmUtil.ConsOrProdMime inOut)Deprecated.Method parameters in org.restlet.ext.jaxrs.internal.util with type arguments of type ResourceMethod Modifier and Type Method Description private static OrderedMap<ResourceMethod,java.util.List<MediaType>>AlgorithmUtil. findMethodsSupportAllTypes(java.util.Collection<ResourceMethod> resourceMethods, AlgorithmUtil.ConsOrProdMime inOut)Deprecated.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.private static java.util.Set<javax.ws.rs.core.Variant>ExceptionHandler. getSupportedVariants(java.util.Collection<ResourceMethod> supporting)Deprecated.voidExceptionHandler. noResourceMethodForAccMediaTypes(java.util.Collection<ResourceMethod> supporting)Deprecated.see spec, section 3.7.2, item 3(a).4static voidAlgorithmUtil. removeNotSupportedHttpMethod(java.util.Collection<ResourceMethod> resourceMethods, Method httpMethod, boolean alsoGet)Deprecated.Removes theResourceMethods from the collection, that do not support the given HTTP method.voidExceptionHandler. unsupportedMediaType(java.util.Collection<ResourceMethod> accepting)Deprecated.see spec, section 3.7.2, item 3 (a) .3 -
Uses of ResourceMethod in org.restlet.ext.jaxrs.internal.wrappers
Fields in org.restlet.ext.jaxrs.internal.wrappers with type parameters of type ResourceMethod Modifier and Type Field Description private java.util.Collection<ResourceMethod>ResourceClass. resourceMethodsDeprecated.The resource methods of this resource class.Methods in org.restlet.ext.jaxrs.internal.wrappers that return types with arguments of type ResourceMethod Modifier and Type Method Description java.util.Collection<ResourceMethod>ResourceClass. getMethodsForPath(RemainingPath remainingPath)Deprecated.Return all resource methods for the given path, ignoring HTTP method, consumed or produced mimes and so on.java.lang.Iterable<ResourceMethod>ResourceClass. getResourceMethods()Deprecated.
-