Issue #3406 - changes from review
Signed-off-by: lachan-roberts <lachlan@webtide.com>
This commit is contained in:
parent
01bc9d3835
commit
ddd60f1992
|
@ -73,7 +73,6 @@ public class WebSocketClient extends ContainerLifeCycle implements WebSocketPoli
|
||||||
public WebSocketClient()
|
public WebSocketClient()
|
||||||
{
|
{
|
||||||
this(null);
|
this(null);
|
||||||
coreClient.getHttpClient().setName("Jetty-WebSocketClient@" + hashCode());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -86,6 +85,9 @@ public class WebSocketClient extends ContainerLifeCycle implements WebSocketPoli
|
||||||
coreClient = new WebSocketCoreClient(httpClient, configurationCustomizer);
|
coreClient = new WebSocketCoreClient(httpClient, configurationCustomizer);
|
||||||
addManaged(coreClient);
|
addManaged(coreClient);
|
||||||
|
|
||||||
|
if (httpClient == null)
|
||||||
|
coreClient.getHttpClient().setName("Jetty-WebSocketClient@" + hashCode());
|
||||||
|
|
||||||
objectFactory = new DecoratedObjectFactory();
|
objectFactory = new DecoratedObjectFactory();
|
||||||
extensionRegistry = new WebSocketExtensionRegistry();
|
extensionRegistry = new WebSocketExtensionRegistry();
|
||||||
frameHandlerFactory = new JettyWebSocketFrameHandlerFactory(this);
|
frameHandlerFactory = new JettyWebSocketFrameHandlerFactory(this);
|
||||||
|
|
Loading…
Reference in New Issue