fix checkstyle
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
81f433a975
commit
352d1e7c3b
|
@ -329,7 +329,6 @@ public abstract class ClientUpgradeRequest extends HttpRequest implements Respon
|
||||||
}
|
}
|
||||||
|
|
||||||
// Negotiate the extension stack
|
// Negotiate the extension stack
|
||||||
HttpClient httpClient = wsClient.getHttpClient();
|
|
||||||
ExtensionStack extensionStack = new ExtensionStack(wsClient.getWebSocketComponents(), Behavior.CLIENT);
|
ExtensionStack extensionStack = new ExtensionStack(wsClient.getWebSocketComponents(), Behavior.CLIENT);
|
||||||
extensionStack.negotiate(offeredExtensions, negotiatedExtensions);
|
extensionStack.negotiate(offeredExtensions, negotiatedExtensions);
|
||||||
|
|
||||||
|
@ -370,6 +369,7 @@ public abstract class ClientUpgradeRequest extends HttpRequest implements Respon
|
||||||
WebSocketCoreSession coreSession = newWebSocketCoreSession(frameHandler, negotiated);
|
WebSocketCoreSession coreSession = newWebSocketCoreSession(frameHandler, negotiated);
|
||||||
customizer.customize(coreSession);
|
customizer.customize(coreSession);
|
||||||
|
|
||||||
|
HttpClient httpClient = wsClient.getHttpClient();
|
||||||
WebSocketConnection wsConnection = newWebSocketConnection(endp, httpClient.getExecutor(), httpClient.getScheduler(), httpClient.getByteBufferPool(), coreSession);
|
WebSocketConnection wsConnection = newWebSocketConnection(endp, httpClient.getExecutor(), httpClient.getScheduler(), httpClient.getByteBufferPool(), coreSession);
|
||||||
|
|
||||||
for (Connection.Listener listener : wsClient.getBeans(Connection.Listener.class))
|
for (Connection.Listener listener : wsClient.getBeans(Connection.Listener.class))
|
||||||
|
|
Loading…
Reference in New Issue