serverless-java-container
serverless-java-container copied to clipboard
A Java wrapper to run Spring, Spring Boot, Jersey, and other apps inside AWS Lambda.
# Issue: `com.amazonaws.apigateway.request.context` missing in backend `@RestController` To help us debug your issue fill in the basic information below using the options provided Serverless Java Container version: `2.1.4` Implementations: Spring...
Starting at line 127: ``` if (v1Request.getMultiValueHeaders() != null) { MultiValueMapAdapter headers = new MultiValueMapAdapter(v1Request.getMultiValueHeaders()); httpRequest.setHeaders(headers); } populateContentAndContentType( v1Request.getBody(), v1Request.getMultiValueHeaders().getFirst(HttpHeaders.CONTENT_TYPE), v1Request.isBase64Encoded(), httpRequest ); ``` If `v1Request.getMultiValueHeaders()` returns null, the lines...
This PR fixes issue 1504. *Issue #:* 1504 *Description of changes:* AwsSpringHttpProcessingUtils has a NPE when the request has a null value for the multi-value headers. This PR checks for...