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