pipeline.addLast("request-handler", new WebSocketServerProtocolHandler("/gremlin", null, false, settings.maxContentLength));
if (logger.isDebugEnabled())
pipeline.addLast(new LoggingHandler("log-aggregator-encoder", LogLevel.DEBUG));
pipeline.addLast("response-encoder", new WsGremlinResponseEncoder());
pipeline.addLast("request-text-decoder", new WsGremlinTextRequestDecoder());
pipeline.addLast("request-binary-decoder", new WsGremlinBinaryRequestDecoder(serializers));
if (logger.isDebugEnabled())
pipeline.addLast(new LoggingHandler("log-aggregator-encoder", LogLevel.DEBUG));