Skip to content

Commit 5c655bd

Browse files
committed
docs: Deprecated support for SpringBoot 1.5
1 parent 41ac2cb commit 5c655bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

aws-serverless-java-container-spring/src/main/java/com/amazonaws/serverless/proxy/spring/SpringBootLambdaContainerHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,15 @@
3838
*
3939
* Important: Make sure to add <code>LambdaFlushResponseListener</code> in your SpringBootServletInitializer subclass configure().
4040
*
41+
* @deprecated Spring <a href="https://spring.io/blog/2018/07/30/spring-boot-1-x-eol-aug-1st-2019">officially deprecated</a>
42+
* SpringBoot 1.5.x as of August 2019. We recommend upgrading to SpringBoot 2.1 or above. SpringBoot 2 is supported
43+
* in the <a href="https://mvnrepository.com/artifact/com.amazonaws.serverless/aws-serverless-java-container-springboot2">
44+
* <code>aws-serverless-java-container-springboot2</code></a> module.
45+
*
4146
* @param <RequestType> The incoming event type
4247
* @param <ResponseType> The expected return type
4348
*/
49+
@Deprecated
4450
public class SpringBootLambdaContainerHandler<RequestType, ResponseType> extends AwsLambdaServletContainerHandler<RequestType, ResponseType, AwsProxyHttpServletRequest, AwsHttpServletResponse> {
4551
private final Class<? extends WebApplicationInitializer> springBootInitializer;
4652
private static final Logger log = LoggerFactory.getLogger(SpringBootLambdaContainerHandler.class);

0 commit comments

Comments
 (0)