Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spring 5.3.0] HandlerInterceptorAdapter has bean deprecated #991

Closed
yoshikawaa opened this issue Aug 24, 2020 · 0 comments
Closed

[Spring 5.3.0] HandlerInterceptorAdapter has bean deprecated #991

yoshikawaa opened this issue Aug 24, 2020 · 0 comments

Comments

@yoshikawaa
Copy link
Contributor

yoshikawaa commented Aug 24, 2020

Description

Part of #989

https://github.com/terasolunaorg/terasoluna-gfw/search?q=HandlerInterceptorAdapter&unscoped_q=HandlerInterceptorAdapter

From Spring 5.0.0, default method is implemented in HandlerInterceptor or AsyncHandlerInterceptor interface,
And from Spring 5.3.0 it is no longer necessary to use the HandlerInterceptorAdapter base class.

Possible Solution

Replace.
from org.springframework.web.servlet.handler.HandlerInterceptorAdapter
to org.springframework.web.servlet.HandlerInterceptor

Affect versions

  • 5.7.0.RELEASE

Issue links

takahashihrzg added a commit that referenced this issue Aug 25, 2020
@btkatoufm btkatoufm added this to the 5.7.0.M1 milestone Sep 24, 2020
j-sandy added a commit to j-sandy/kork that referenced this issue Dec 10, 2024
…orAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0. So, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
spring-projects/spring-framework#25147
terasolunaorg/terasoluna-gfw#991
j-sandy added a commit to j-sandy/kork that referenced this issue Dec 10, 2024
…orAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0. So, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
spring-projects/spring-framework#25147
terasolunaorg/terasoluna-gfw#991
j-sandy added a commit to j-sandy/kork that referenced this issue Dec 10, 2024
…orAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0. So, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
spring-projects/spring-framework#25147
terasolunaorg/terasoluna-gfw#991
j-sandy added a commit to j-sandy/kork that referenced this issue Dec 10, 2024
…orAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0. So, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
spring-projects/spring-framework#25147
terasolunaorg/terasoluna-gfw#991
j-sandy added a commit to j-sandy/kork that referenced this issue Dec 10, 2024
…orAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0. So, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
spring-projects/spring-framework#25147
terasolunaorg/terasoluna-gfw#991
j-sandy added a commit to j-sandy/kork that referenced this issue Dec 17, 2024
…orAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0. So, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
spring-projects/spring-framework#25147
terasolunaorg/terasoluna-gfw#991
j-sandy added a commit to j-sandy/kork that referenced this issue Dec 19, 2024
…orAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0. So, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
spring-projects/spring-framework#25147
terasolunaorg/terasoluna-gfw#991
j-sandy added a commit to j-sandy/kork that referenced this issue Dec 19, 2024
…orAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0. So, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
spring-projects/spring-framework#25147
terasolunaorg/terasoluna-gfw#991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants