parse Http Body
Parse HTTP request or response body using contentLength, transferEncoding and connectionOptions writing it to out. Usually doesn't fail but closing out channel with error.
Parameters
from the corresponding header or -1
header or null
Parse HTTP request or response body using request/response's headers writing it to out. Usually doesn't fail but closing out channel with error.
Throws
if the message has more than one Content-Length or Transfer-Encoding header, has both of them, or has a Transfer-Encoding other than chunked
Deprecated (with error)
Please use method with version parameter
Replace with
parseHttpBody(null, contentLength, transferEncoding, connectionOptions, input, out)Parse HTTP request or response body using contentLength, transferEncoding and connectionOptions writing it to out. Usually doesn't fail but closing out channel with error.
Parameters
from the corresponding header or -1
header or null