Skip to content

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 <[email protected]>
@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
@rstoyanchev rstoyanchev self-assigned this Jun 3, 2025
@rstoyanchev rstoyanchev added type: documentation A documentation task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jun 3, 2025
@rstoyanchev rstoyanchev added this to the 7.0.0-M6 milestone Jun 3, 2025
rstoyanchev pushed a commit that referenced this pull request Jun 4, 2025
Replace deprecated JettyHttpHandlerAdapter with JettyCoreHttpHandlerAdapter
Update example to work with Jetty 12+
Add note about the deprecation

See gh-34877

Signed-off-by: kssumin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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