org.jboss.netty.handler.codec.http.DefaultHttpResponse cannot be cast to org.jboss.netty.buffer.ChannelBuffer
valodzka
valodzka at gmail.com
Mon Jul 25 17:27:38 EDT 2011
No, I haven't. Full code was:
public ChannelPipeline getPipeline(LoadTask task) throws Exception {
ChannelPipeline pipe = new LoaderPipeline(task);
pipe.addLast("timeout", new ReadTimeoutHandler(timer,
task.taskSettings.getReadTimeout()));
pipe.addLast("decoder", new HttpResponseDecoder());
pipe.addLast("decompress", new HttpContentDecompressor());
pipe.addLast("aggregator", createChunkAggregator());
pipe.addLast("httpcode", new HttpResponseHandler());
pipe.addLast("encoder", encoder);
pipe.addLast("preparator", new PrepareResponseHandler());
pipe.addLast("executor", executor);
pipe.addLast("handler", new ContentProcessor());
return pipe;
}
And it worked with 3.2.1, so it isn't trivial mistake.
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/org-jboss-netty-handler-codec-http-DefaultHttpResponse-cannot-be-cast-to-org-jboss-netty-buffer-Chanr-tp6620114p6620175.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list