Class GetExchangeAnnotationTransformer
java.lang.Object
io.micronaut.spring.web.annotation.exchange.HttpExchangeAnnotationTransformer
io.micronaut.spring.web.annotation.exchange.GetExchangeAnnotationTransformer
- All Implemented Interfaces:
io.micronaut.core.naming.Named,io.micronaut.inject.annotation.AnnotationTransformer<Annotation>,io.micronaut.inject.annotation.NamedAnnotationTransformer
Maps Spring GetExchange to Micronaut.
- Since:
- 5.10.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()protected booleanisHttpMethodMapping(String method) Whether the given method is an HTTP method mapping.protected io.micronaut.core.annotation.AnnotationValueBuilder<?>newBuilder(String httpMethod) Construct a new builder for the given http method.Methods inherited from class io.micronaut.spring.web.annotation.exchange.HttpExchangeAnnotationTransformer
transform
-
Constructor Details
-
GetExchangeAnnotationTransformer
public GetExchangeAnnotationTransformer()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceio.micronaut.core.naming.Named- Overrides:
getNamein classHttpExchangeAnnotationTransformer
-
newBuilder
Description copied from class:HttpExchangeAnnotationTransformerConstruct a new builder for the given http method.- Overrides:
newBuilderin classHttpExchangeAnnotationTransformer- Parameters:
httpMethod- HTTP method- Returns:
- The builder
-
isHttpMethodMapping
Description copied from class:HttpExchangeAnnotationTransformerWhether the given method is an HTTP method mapping.- Overrides:
isHttpMethodMappingin classHttpExchangeAnnotationTransformer- Parameters:
method- The method, can be null- Returns:
- True if it is
-