Interface ServletToAwsProxyRequestAdapter

All Known Implementing Classes:
DefaultServletToAwsProxyRequestAdapter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @DefaultImplementation(DefaultServletToAwsProxyRequestAdapter.class) public interface ServletToAwsProxyRequestAdapter
Adapts from HttpServletRequest to APIGatewayV2HTTPEvent.
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent
    createAwsProxyRequest(@NonNull jakarta.servlet.http.HttpServletRequest request)
     
  • Method Details

    • createAwsProxyRequest

      @NonNull @NonNull com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent createAwsProxyRequest(@NonNull @NonNull jakarta.servlet.http.HttpServletRequest request)
      Parameters:
      request - Servlets request
      Returns:
      An AWS Proxy request built from the servlet request supplied as a parameter