-
Deprecated ClassesClassDescriptionthis class is removed from Jetty 10.0.0+use
HttpClient
with WebSocketClient directlyuseByteBufferAccumulator
instead.moved to jetty-httpPathSpec
(this facade will be removed in Jetty 9.4)moved to jetty-httpRegexPathSpec
(this facade will be removed in Jetty 9.4)moved to jetty-httpServletPathSpec
(this facade will be removed in Jetty 9.4)useServletUpgradeRequest
insteaduseServletUpgradeResponse
instead
-
Deprecated MethodsMethodDescriptionuse of this method is strongly discouraged, as it creates too many new objects that are just thrown away to accomplish its goals.use
Frame.isFin()
instead(no longer supported, as this can undo the required upgrade request headers)this has no replacement, will be removed in Jetty 10this has no replacement, will be removed in Jetty 10useWebSocketPolicy.delegateAs(WebSocketBehavior)
insteaduse eitherWebSocketClient.setCookieStore(CookieStore)
orHttpClient.setCookieStore(CookieStore)
insteadnot used, no replacementhas no replacement(this is a bad bad bad typo, it has 3 { @ code " d " } characters in a row) useHttpClient.setBindAddress(SocketAddress)
to the internalWebSocketClient(HttpClient)
not used, configure threading inHttpClient
insteadno longer used, this has no replacementnot used, no replacementuseMappedWebSocketCreator.addMapping(org.eclipse.jetty.http.pathmap.PathSpec, WebSocketCreator)
instead. (support classes moved to generic jetty-http project)useNativeWebSocketConfiguration.getMatched(String)
instead.useServletUpgradeRequest.getUserPrincipal()
insteadthis class is removed from Jetty 10.0.0+. To remove specific extensions from negotiation useWebSocketCreator
to remove then during handshake.
-
Deprecated ConstructorsConstructorDescriptionuse
WebSocketClient(HttpClient)
insteaduseWebSocketClient(HttpClient)
insteaduseWebSocketClient(HttpClient)
insteaduseWebSocketClient(HttpClient)
insteaduseWebSocketClient(HttpClient)
insteaduseWebSocketClient(HttpClient)
insteaduseWebSocketClient(HttpClient)
insteaduseServerContainer(NativeWebSocketConfiguration, HttpClient)
instead