-
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
WebSocketUpgradeHandler should not require ContextHandler #10768
Conversation
Signed-off-by: Lachlan Roberts <[email protected]>
Signed-off-by: Lachlan Roberts <[email protected]>
@lachlan-roberts can you explain why you need this? I'm not against it, just curious about why. |
I don't specifically need this and I did not create an issue for it. I just saw these tests and didn't think the We don't require a |
...-server/src/main/java/org/eclipse/jetty/websocket/core/server/WebSocketServerComponents.java
Outdated
Show resolved
Hide resolved
...-server/src/main/java/org/eclipse/jetty/websocket/core/server/WebSocketServerComponents.java
Outdated
Show resolved
Hide resolved
...-jetty-server/src/main/java/org/eclipse/jetty/websocket/server/ServerWebSocketContainer.java
Outdated
Show resolved
Hide resolved
...t-jetty-server/src/main/java/org/eclipse/jetty/websocket/server/WebSocketUpgradeHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <[email protected]>
…er'. Signed-off-by: Simone Bordet <[email protected]>
… the WebSocketUpgradeHandler with only the Server, to allow dynamic configuration of WebSocket endpoints. Signed-off-by: Simone Bordet <[email protected]>
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.
@lachlan-roberts I have updated WebSocketUpgradeHandler to expose the ServerWebSocketContainer as attribute also when created with only the Server.
LGTM now.
…er'. Signed-off-by: Simone Bordet <[email protected]>
WebSocketUpgradeHandler
should not be required to be wrapped inside aContextHandler