Package org.jboss.resteasy.spi.metadata
Class SpringResourceBuilder
- java.lang.Object
-
- org.jboss.resteasy.spi.metadata.ResourceBuilder
-
- org.jboss.resteasy.spi.metadata.SpringResourceBuilder
-
public class SpringResourceBuilder extends ResourceBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.resteasy.spi.metadata.ResourceBuilder
ResourceBuilder.ConstructorParameterBuilder, ResourceBuilder.FieldParameterBuilder, ResourceBuilder.LocatorMethodParameterBuilder<T extends ResourceBuilder.LocatorMethodParameterBuilder<T>>, ResourceBuilder.ParameterBuilder<T extends ResourceBuilder.ParameterBuilder<T>>, ResourceBuilder.ResourceClassBuilder, ResourceBuilder.ResourceConstructorBuilder, ResourceBuilder.ResourceLocatorBuilder<T extends ResourceBuilder.ResourceLocatorBuilder<T>>, ResourceBuilder.ResourceMethodBuilder, ResourceBuilder.ResourceMethodParameterBuilder, ResourceBuilder.SetterParameterBuilder
-
-
Constructor Summary
Constructors Constructor Description SpringResourceBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceBuilder.ResourceClassBuilder
createResourceClassBuilder(Class<?> clazz)
Method
getAnnotatedMethod(Class<?> root, Method implementation)
Find the annotated resource method or sub-resource method / sub-resource locator in the class hierarchy.Class<? extends Annotation>
getCorrespondingRootAnnotation()
protected void
processMethod(boolean isLocator, ResourceBuilder.ResourceClassBuilder resourceClassBuilder, Class<?> root, Method implementation)
-
Methods inherited from class org.jboss.resteasy.spi.metadata.ResourceBuilder
buildLocator, buildRootResource, buildRootResource, constructor, findAnnotatedMethod, getConstructor, getLocatorFromAnnotations, getRootResourceFromAnnotations, locator, locatorFromAnnotations, processDeclaredFields, processDeclaredSetters, processFields, processSetters, registerResourceClassProcessor, rootResource, rootResource, rootResourceFromAnnotations
-
-
-
-
Method Detail
-
getCorrespondingRootAnnotation
public Class<? extends Annotation> getCorrespondingRootAnnotation()
- Overrides:
getCorrespondingRootAnnotation
in classResourceBuilder
-
createResourceClassBuilder
protected ResourceBuilder.ResourceClassBuilder createResourceClassBuilder(Class<?> clazz)
- Overrides:
createResourceClassBuilder
in classResourceBuilder
-
processMethod
protected void processMethod(boolean isLocator, ResourceBuilder.ResourceClassBuilder resourceClassBuilder, Class<?> root, Method implementation)
- Overrides:
processMethod
in classResourceBuilder
-
getAnnotatedMethod
public Method getAnnotatedMethod(Class<?> root, Method implementation)
Description copied from class:ResourceBuilder
Find the annotated resource method or sub-resource method / sub-resource locator in the class hierarchy.- Overrides:
getAnnotatedMethod
in classResourceBuilder
- Parameters:
root
- The root resource class.implementation
- The resource method or sub-resource method / sub-resource locator implementation- Returns:
- The annotated resource method or sub-resource method / sub-resource locator.
-
-