-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Jetty 12 - Public version of JakartaWebSocketServerContainer #9182
Comments
@Sineaggi This code should be using Do you know why spring requires use of the |
@Sineaggi nudge |
This class is used by spring-boot spring-projects/spring-boot#33833 to configure their internal websocket customizer https://github.com/spring-projects/spring-boot/blob/fe7b13ec46f9960bebfddad984816e353f9c9349/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/websocket/servlet/JettyWebSocketServletWebServerCustomizer.java#L23. Similar to the call |
Perhaps @wilkinsona can add more context |
Spring Boot does not support ServletContainerInitializers so this would have no effect in a Boot app.
Apologies if I am looking in the wrong place but this appears to be |
@wilkinsona the But yes I thought |
…erContainer public Signed-off-by: Lachlan Roberts <[email protected]>
…ketServetContainer Issue #9182 - make JakartaWSSCI.initialize() and JakartaWebSocketServerContainer public
I have merged the changes from #9395 into Jetty 12. Now both |
… into jetty-12.0.x-old-docs-remove-logging-sections * 'jetty-12.0.x' of https://github.com/eclipse/jetty.project: Issue jetty#9182 - make JakartaWSSCI.initialize() and JakartaWebSocketServerContainer public ensure the WebSocketConnection is set on the WebSocketCoreSession remove osgi internal imports for websocket-core rename WebSocketUtil to WebSocketUtils make WebSocketCoreSession public & other fixes Javadocs for Response and Context. (jetty#9388) Moved implementation methods ensure*() from the Response interface (jetty#9390) Reinstate ee9 jetty runner. (jetty#9383) Fix jetty#9387 remove setClassLoader from CoreSession interface remove exporting of internal packages in ee9 & ee10 websocket fix remaining JPMS issues in websocket-core resolve JPMS issues with CoreSession and WebSocketCoreSession move websocket-core-common messages and util packages out of internal
Enhancement Description
Spring uses the internal
JakartaWebSocketServerContainer
, which requires the use of--add-opens org.eclipse.jetty.websocket.jakarta.server/org.eclipse.jetty.websocket.jakarta.server.internal=ALL-UNNAMED
when running spring boot under the module path. The spring boot issue is spring-projects/spring-boot#33833Currently spring boot uses the class for https://github.com/spring-projects/spring-boot/blob/fe7b13ec46f9960bebfddad984816e353f9c9349/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/websocket/servlet/JettyWebSocketServletWebServerCustomizer.java#L23 to call
getContainer
andensureContainer
.The text was updated successfully, but these errors were encountered: