Class APIGatewayV2HTTPEventBinder
java.lang.Object
io.micronaut.function.aws.proxy.payload2.APIGatewayV2HTTPEventBinder
- All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,
,io.micronaut.http.HttpRequest<?>> io.micronaut.core.bind.TypeArgumentBinder<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,
,io.micronaut.http.HttpRequest<?>> io.micronaut.http.bind.binders.RequestArgumentBinder<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent>
,io.micronaut.http.bind.binders.TypedRequestArgumentBinder<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent>
@Internal
@Singleton
public class APIGatewayV2HTTPEventBinder
extends Object
implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent>
Request binder for the APIGatewayProxyRequestEvent object.
- Since:
- 4.0.0
- Author:
- Tim Yates
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.type.Argument<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent>
io.micronaut.core.bind.ArgumentBinder.BindingResult<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent>
bind
(io.micronaut.core.convert.ArgumentConversionContext<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent> context, io.micronaut.http.HttpRequest<?> source) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.http.bind.binders.TypedRequestArgumentBinder
matches, superTypes
-
Constructor Details
-
APIGatewayV2HTTPEventBinder
public APIGatewayV2HTTPEventBinder()
-
-
Method Details
-
argumentType
public io.micronaut.core.type.Argument<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent> argumentType()- Specified by:
argumentType
in interfaceio.micronaut.core.bind.TypeArgumentBinder<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,
io.micronaut.http.HttpRequest<?>>
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent> bind(io.micronaut.core.convert.ArgumentConversionContext<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent> context, io.micronaut.http.HttpRequest<?> source) - Specified by:
bind
in interfaceio.micronaut.core.bind.ArgumentBinder<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,
io.micronaut.http.HttpRequest<?>>
-