Fixing spelling of 'request' for handler names.

This commit is contained in:
Daniel Bevenius 2014-02-07 13:13:19 +01:00 committed by Norman Maurer
parent 891df2116c
commit 96216a9657

View File

@ -138,7 +138,7 @@ public abstract class SpdyOrHttpChooser extends ByteToMessageDecoder {
pipeline.addLast("spdyHttpEncoder", new SpdyHttpEncoder(version));
pipeline.addLast("spdyHttpDecoder", new SpdyHttpDecoder(version, maxSpdyContentLength));
pipeline.addLast("spdyStreamIdHandler", new SpdyHttpResponseStreamIdHandler());
pipeline.addLast("httpRquestHandler", createHttpRequestHandlerForSpdy());
pipeline.addLast("httpRequestHandler", createHttpRequestHandlerForSpdy());
}
/**
@ -146,10 +146,10 @@ public abstract class SpdyOrHttpChooser extends ByteToMessageDecoder {
*/
protected void addHttpHandlers(ChannelHandlerContext ctx) {
ChannelPipeline pipeline = ctx.pipeline();
pipeline.addLast("httpRquestDecoder", new HttpRequestDecoder());
pipeline.addLast("httpRequestDecoder", new HttpRequestDecoder());
pipeline.addLast("httpResponseEncoder", new HttpResponseEncoder());
pipeline.addLast("httpChunkAggregator", new HttpObjectAggregator(maxHttpContentLength));
pipeline.addLast("httpRquestHandler", createHttpRequestHandlerForHttp());
pipeline.addLast("httpRequestHandler", createHttpRequestHandlerForHttp());
}
/**