public class GetMappingAnnotationMapper extends RequestMappingAnnotationMapper
Constructor and Description |
---|
GetMappingAnnotationMapper() |
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 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.
|
mapInternal
map
public java.lang.String getName()
getName
in interface io.micronaut.core.naming.Named
getName
in class RequestMappingAnnotationMapper
protected io.micronaut.core.annotation.AnnotationValueBuilder<?> newBuilder(io.micronaut.http.HttpMethod httpMethod, io.micronaut.core.annotation.AnnotationValue<java.lang.annotation.Annotation> annotation)
RequestMappingAnnotationMapper
newBuilder
in class RequestMappingAnnotationMapper
httpMethod
- The methodannotation
- The annotationprotected boolean isHttpMethodMapping(io.micronaut.http.HttpMethod method)
RequestMappingAnnotationMapper
isHttpMethodMapping
in class RequestMappingAnnotationMapper
method
- The method, can be null