Class SpringBootLambdaContainerHandler<RequestType,ResponseType>

java.lang.Object
com.amazonaws.serverless.proxy.internal.LambdaContainerHandler<RequestType,ResponseType,ContainerRequestType,ContainerResponseType>
com.amazonaws.serverless.proxy.internal.servlet.AwsLambdaServletContainerHandler<RequestType,ResponseType,jakarta.servlet.http.HttpServletRequest,AwsHttpServletResponse>
com.amazonaws.serverless.proxy.spring.SpringBootLambdaContainerHandler<RequestType,ResponseType>
Type Parameters:
RequestType - The incoming event type
ResponseType - The expected return type
All Implemented Interfaces:
InitializableLambdaContainerHandler

public class SpringBootLambdaContainerHandler<RequestType,ResponseType> extends AwsLambdaServletContainerHandler<RequestType,ResponseType,jakarta.servlet.http.HttpServletRequest,AwsHttpServletResponse>
SpringBoot implementation of the `LambdaContainerHandler` abstract class. This class uses the `LambdaSpringApplicationInitializer` object behind the scenes to proxy requests. The default implementation leverages the `AwsProxyHttpServletRequest` and `AwsHttpServletResponse` implemented in the `aws-serverless-java-container-core` package. Important: Make sure to add LambdaFlushResponseListener in your SpringBootServletInitializer subclass configure().