Class DefaultServletToAwsProxyRequestAdapter
java.lang.Object
io.micronaut.function.aws.proxy.test.DefaultServletToAwsProxyRequestAdapter
- All Implemented Interfaces:
ServletToAwsProxyRequestAdapter
@Internal
@Singleton
public class DefaultServletToAwsProxyRequestAdapter
extends Object
implements ServletToAwsProxyRequestAdapter
DefaultImplementation
of ServletToAwsProxyRequestAdapter
.- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent
createAwsProxyRequest
(@NonNull jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
DefaultServletToAwsProxyRequestAdapter
public DefaultServletToAwsProxyRequestAdapter()
-
-
Method Details
-
createAwsProxyRequest
@NonNull public @NonNull com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent createAwsProxyRequest(@NonNull @NonNull jakarta.servlet.http.HttpServletRequest request) - Specified by:
createAwsProxyRequest
in interfaceServletToAwsProxyRequestAdapter
- Parameters:
request
- Servlets request- Returns:
- An AWS Proxy request built from the servlet request supplied as a parameter
-