adjustPipelineToWebSocket(ctx, new HybiWebSocketFrameDecoder(), new HybiWebSocketFrameEncoder());
} else if (isHixie76WebSocketRequest(req)) {
this.webSocketConnection.setVersion("HIXIE-76");
upgradeResponseHixie76(req, res);
ctx.getChannel().write(res);
adjustPipelineToWebSocket(ctx, new WebSocketFrameDecoder(), new WebSocketFrameEncoder());
} else {
this.webSocketConnection.setVersion("HIXIE-75");
upgradeResponseHixie75(req, res);
ctx.getChannel().write(res);
adjustPipelineToWebSocket(ctx, new WebSocketFrameDecoder(), new WebSocketFrameEncoder());
}
}