nettyMetrics.multipartPostRequestRate.mark();
request = new NettyMultipartRequest(httpRequest, nettyMetrics);
</BUG>
} else {
<BUG>request = new NettyRequest(httpRequest, nettyMetrics);
</BUG>
}
responseChannel.setRequest(request);
logger.trace("Channel {} now handling request {}", ctx.channel(), request.getUri());
if (request.getRestMethod().equals(RestMethod.POST) && !HttpPostRequestDecoder.isMultipart(httpRequest)) {

nettyMetrics.multipartPostRequestRate.mark();
request = new NettyMultipartRequest(httpRequest, ctx.channel(), nettyMetrics);
} else {
request = new NettyRequest(httpRequest, ctx.channel(), nettyMetrics);
}
responseChannel.setRequest(request);
logger.trace("Channel {} now handling request {}", ctx.channel(), request.getUri());
if (request.getRestMethod().equals(RestMethod.POST) && !HttpPostRequestDecoder.isMultipart(httpRequest)) {
