-
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
XmlBasedHttpClientProvider in Jetty 10 #3341
Comments
We create the Using the Also |
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
- HttpClientProvider is now an interface which defines a default method newHttpClient, its static get() method get will attempt to use the XmlHttpClientProvider to create a client, and if this fails to give a non null client it will be created with the default newHttpClient method Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
- HttpClientProvider is now an interface which defines a default method newHttpClient, its static get() method get will attempt to use the XmlHttpClientProvider to create a client, and if this fails to give a non null client it will be created with the default newHttpClient method Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
- HttpClientProvider is now an interface which defines a default method newHttpClient, its static get() method get will attempt to use the XmlHttpClientProvider to create a client, and if this fails to give a non null client it will be created with the default newHttpClient method Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
- HttpClientProvider is now an interface which defines a default method newHttpClient, its static get() method get will attempt to use the XmlHttpClientProvider to create a client, and if this fails to give a non null client it will be created with the default newHttpClient method Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…lientProvider Issue #3341 - WebSocket HttpClientProvider
Updated comment referencing old class name. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
XmlBasedHttpClientProvider
is loaded via reflection byHttpClientProvider
(only usage).HttpClientProvider
is unused.DefaultHttpClientProvider
is only used byHttpClientProvider
, which is unused.@lachlan-roberts I guess all those classes were an attempt to allow applications to provide their own, custom,
HttpClient
instance to be used in WebSocket.If this mechanism is present but implemented differently in Jetty 10, then those classes should be removed.
Otherwise a similar mechanism should be provided, based on
ServiceLoader
rather than reflection.@joakime other inputs?
The text was updated successfully, but these errors were encountered: