} else if (len == ContentLengthStrategy.IDENTITY) {
this.contentDecoder = new IdentityDecoder(this.session.channel(), this.inbuf);
entity.setChunked(false);
entity.setContentLength(-1);
} else {
this.contentDecoder = new LengthDelimitedDecoder(this.session.channel(), this.inbuf, len);
entity.setChunked(false);
entity.setContentLength(len);
}
Header contentTypeHeader = message.getFirstHeader(HTTP.CONTENT_TYPE);