Class PostExchangeAnnotationTransformer
java.lang.Object
io.micronaut.spring.web.annotation.exchange.HttpExchangeAnnotationTransformer
io.micronaut.spring.web.annotation.exchange.PostExchangeAnnotationTransformer
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.inject.annotation.AnnotationTransformer<Annotation>
,io.micronaut.inject.annotation.NamedAnnotationTransformer
Maps Spring PostExchange to Micronaut.
- Since:
- 5.10.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
protected boolean
isHttpMethodMapping
(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
-
PostExchangeAnnotationTransformer
public PostExchangeAnnotationTransformer()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
- Overrides:
getName
in classHttpExchangeAnnotationTransformer
-
newBuilder
Description copied from class:HttpExchangeAnnotationTransformer
Construct a new builder for the given http method.- Overrides:
newBuilder
in classHttpExchangeAnnotationTransformer
- Parameters:
httpMethod
- HTTP method- Returns:
- The builder
-
isHttpMethodMapping
Description copied from class:HttpExchangeAnnotationTransformer
Whether the given method is an HTTP method mapping.- Overrides:
isHttpMethodMapping
in classHttpExchangeAnnotationTransformer
- Parameters:
method
- The method, can be null- Returns:
- True if it is
-