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 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 interface ServletToAwsProxyRequestAdapter
      Parameters:
      request - Servlets request
      Returns:
      An AWS Proxy request built from the servlet request supplied as a parameter