public class RequestMappingAnnotationMapper extends AbstractSpringAnnotationMapper
Constructor and Description |
---|
RequestMappingAnnotationMapper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
protected boolean |
isHttpMethodMapping(HttpMethod method)
Whether the given method is an HTTP method mapping.
|
protected java.util.List<AnnotationValue<?>> |
mapInternal(AnnotationValue<java.lang.annotation.Annotation> annotation,
VisitorContext visitorContext)
Internal map implemenation that subclasses should implement.
|
protected AnnotationValueBuilder<?> |
newBuilder(HttpMethod httpMethod,
AnnotationValue<java.lang.annotation.Annotation> annotation)
Construct a new builder for the given http method.
|
map
public java.lang.String getName()
protected java.util.List<AnnotationValue<?>> mapInternal(AnnotationValue<java.lang.annotation.Annotation> annotation, VisitorContext visitorContext)
AbstractSpringAnnotationMapper
mapInternal
in class AbstractSpringAnnotationMapper
annotation
- The annotationvisitorContext
- The visitor contextprotected boolean isHttpMethodMapping(@Nullable HttpMethod method)
method
- The method, can be null@Nonnull protected AnnotationValueBuilder<?> newBuilder(@Nullable HttpMethod httpMethod, AnnotationValue<java.lang.annotation.Annotation> annotation)
httpMethod
- The methodannotation
- The annotation