Fixing spelling of 'request' for handler names.
This commit is contained in:
parent
891df2116c
commit
96216a9657
@ -138,7 +138,7 @@ public abstract class SpdyOrHttpChooser extends ByteToMessageDecoder {
|
|||||||
pipeline.addLast("spdyHttpEncoder", new SpdyHttpEncoder(version));
|
pipeline.addLast("spdyHttpEncoder", new SpdyHttpEncoder(version));
|
||||||
pipeline.addLast("spdyHttpDecoder", new SpdyHttpDecoder(version, maxSpdyContentLength));
|
pipeline.addLast("spdyHttpDecoder", new SpdyHttpDecoder(version, maxSpdyContentLength));
|
||||||
pipeline.addLast("spdyStreamIdHandler", new SpdyHttpResponseStreamIdHandler());
|
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) {
|
protected void addHttpHandlers(ChannelHandlerContext ctx) {
|
||||||
ChannelPipeline pipeline = ctx.pipeline();
|
ChannelPipeline pipeline = ctx.pipeline();
|
||||||
pipeline.addLast("httpRquestDecoder", new HttpRequestDecoder());
|
pipeline.addLast("httpRequestDecoder", new HttpRequestDecoder());
|
||||||
pipeline.addLast("httpResponseEncoder", new HttpResponseEncoder());
|
pipeline.addLast("httpResponseEncoder", new HttpResponseEncoder());
|
||||||
pipeline.addLast("httpChunkAggregator", new HttpObjectAggregator(maxHttpContentLength));
|
pipeline.addLast("httpChunkAggregator", new HttpObjectAggregator(maxHttpContentLength));
|
||||||
pipeline.addLast("httpRquestHandler", createHttpRequestHandlerForHttp());
|
pipeline.addLast("httpRequestHandler", createHttpRequestHandlerForHttp());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user