describe
Collection<ResourceDescriptor> describe(Method method,
String resourcePath,
ModelPath modelPath,
TemplateResolver templateResolver,
ReflectionService reflectionService,
ResourceTypeIntrospector typeIntrospector)
throws ResourceConfigurationException
Describes the specified JAX-RS resource to the given resolver.
- Parameters:
method - the method to describe
resourcePath - resource path associated with the type
modelPath - model parent model path
templateResolver - default template path resolver
reflectionService - reflection service to use for introspection
typeIntrospector - introspector to use for discovered types
- Returns:
- resource descriptors
- Throws:
ResourceConfigurationException - if a configuration error is
discovered