Skip to content

Update outdated JettyHttpHandlerAdapter example in reference documentation #34877

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kssumin
Copy link

@kssumin kssumin commented May 11, 2025

This PR updates the outdated JettyHttpHandlerAdapter example in the reference documentation to use JettyCoreHttpHandlerAdapter, which is the recommended approach for Jetty 12+.

The change follows up on #33747 where JettyHttpHandlerAdapter was deprecated but the documentation was not updated.

Changes

  • Replace deprecated JettyHttpHandlerAdapter with JettyCoreHttpHandlerAdapter in both Java and Kotlin examples
  • Simplify the server setup code to align with current best practices
  • Add a note explaining the deprecation

Closes gh-34875

…pter

- Replaced deprecated JettyHttpHandlerAdapter with JettyCoreHttpHandlerAdapter
- Updated example to work with Jetty 12+
- Added note about the deprecation

Closes spring-projectsgh-34875

Signed-off-by: kssumin <201566@jnu.ac.kr>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged or decided on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update outdated example that uses JettyHttpHandlerAdapter in the reference manual
2 participants