input = httpRequest.getContent();
} else {
input = (ChannelBuffer)e.getMessage();
}
ChannelBuffer output = ChannelBuffers.dynamicBuffer(responseSize);
TProtocol protocol = protocolFactory.getProtocol(new TNettyChannelBuffer(input, output));
processor.process(protocol, protocol);
if (httpRequest != null) {
HttpResponse response = new DefaultHttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.OK);