-
Notifications
You must be signed in to change notification settings - Fork 166
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
router plugins support springboot3 #1670
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: provenceee <83857838+provenceee@users.noreply.github.com>
Signed-off-by: provenceee <83857838+provenceee@users.noreply.github.com>
for HttpServletRequest/HttpServletResponse, springboot1 and springboot2 package name is javax.servlet.http.HttpServletRequest/javax.servlet.http.HttpServletResponse, springboot3 package name is jakarta.servlet.http.HttpServletRequest/jakarta.servlet.http.HttpServletResponse, so use reflections to adapt these. |
private Map<String, String> getHeaders(Object request) { | ||
final Enumeration<String> headerNames = getHeaderNames(request); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use class name to distinguish low version and high version
What type of PR is this?
Feature
What this PR does / why we need it?
router plugin does not support springboot3
Which issue(s) this PR fixes?
Fixes #1669
Does this PR introduce a user-facing change?
should update support version
Checklist