Skip to content
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

Make the JavaxWebSocketClientContainer.getContainer(HttpClient) method static. #6107

Merged

Conversation

lachlan-roberts
Copy link
Contributor

  • Make the JavaxWebSocketClientContainer.getContainer(HttpClient) method static.
  • Introduce utility methods to add and remove beans from containers.

…tContainerProvider.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't your websocket stuff use these new methods?

@lachlan-roberts
Copy link
Contributor Author

@gregw the only place the method was used is from the no args getContainer() method of JavaxWebSocketClientContainerProvider. There are no other usages to update.

…lient) method.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts merged commit b68a5fe into jetty-10.0.x Mar 26, 2021
@lachlan-roberts lachlan-roberts deleted the jetty-10.0.x-JavaxWebSocketContainerProvider branch March 26, 2021 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants