Class GetMappingAnnotationTransformer
java.lang.Object
io.micronaut.spring.web.annotation.RequestMappingAnnotationTransformer
io.micronaut.spring.web.annotation.GetMappingAnnotationTransformer
- All Implemented Interfaces:
 io.micronaut.core.naming.Named,io.micronaut.inject.annotation.AnnotationTransformer<Annotation>,io.micronaut.inject.annotation.NamedAnnotationTransformer
Maps Spring GetMapping to Micronaut.
- Since:
 - 1.0
 - Author:
 - graemerocher
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetName()protected booleanisHttpMethodMapping(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<Annotation> annotation) Construct a new builder for the given http method.Methods inherited from class io.micronaut.spring.web.annotation.RequestMappingAnnotationTransformer
transform 
- 
Constructor Details
- 
GetMappingAnnotationTransformer
public GetMappingAnnotationTransformer() 
 - 
 - 
Method Details
- 
getName
- Specified by:
 getNamein interfaceio.micronaut.core.naming.Named- Overrides:
 getNamein classRequestMappingAnnotationTransformer
 - 
newBuilder
protected io.micronaut.core.annotation.AnnotationValueBuilder<?> newBuilder(io.micronaut.http.HttpMethod httpMethod, io.micronaut.core.annotation.AnnotationValue<Annotation> annotation) Description copied from class:RequestMappingAnnotationTransformerConstruct a new builder for the given http method.- Overrides:
 newBuilderin classRequestMappingAnnotationTransformer- Parameters:
 httpMethod- The methodannotation- The annotation- Returns:
 - The builder
 
 - 
isHttpMethodMapping
protected boolean isHttpMethodMapping(io.micronaut.http.HttpMethod method) Description copied from class:RequestMappingAnnotationTransformerWhether the given method is an HTTP method mapping.- Overrides:
 isHttpMethodMappingin classRequestMappingAnnotationTransformer- Parameters:
 method- The method, can be null- Returns:
 - True if it is
 
 
 -