Package io.micronaut.function.aws.proxy
Class MicronautLambdaHandler
java.lang.Object
io.micronaut.function.aws.proxy.MicronautLambdaHandler
- All Implemented Interfaces:
com.amazonaws.services.lambda.runtime.RequestHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,
com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent>
@Deprecated(forRemoval=true,
since="4.0.0")
public class MicronautLambdaHandler
extends Object
implements com.amazonaws.services.lambda.runtime.RequestHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent>
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.MicronautLambdaHandler
(io.micronaut.context.ApplicationContext applicationContext) Deprecated, for removal: This API element is subject to removal in a future version.MicronautLambdaHandler
(io.micronaut.context.ApplicationContextBuilder applicationContextBuilder) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptioncom.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent
handleRequest
(com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent input, com.amazonaws.services.lambda.runtime.Context context) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
MicronautLambdaHandler
public MicronautLambdaHandler()Deprecated, for removal: This API element is subject to removal in a future version. -
MicronautLambdaHandler
public MicronautLambdaHandler(io.micronaut.context.ApplicationContextBuilder applicationContextBuilder) Deprecated, for removal: This API element is subject to removal in a future version. -
MicronautLambdaHandler
public MicronautLambdaHandler(io.micronaut.context.ApplicationContext applicationContext) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
handleRequest
public com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent handleRequest(com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent input, com.amazonaws.services.lambda.runtime.Context context) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
handleRequest
in interfacecom.amazonaws.services.lambda.runtime.RequestHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,
com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent>
-
ApiGatewayProxyRequestEventFunction
,APIGatewayV2HTTPEventFunction
orApplicationLoadBalancerFunction
instead.