- decompressContents
Decompresses the gzipped byte stream.
- extractReadableBytes
Extracts all readable bytes from the ByteBuf as a byte array.
- getContentAsString
Converts the byte array into a String based on the specified charset. The
charset cannot be null.
- getHeaderSize
Returns the size of the headers, including the 2 CRLFs at the end of the header
block.
- getRawPathAndParamsFromUri
Retrieves the raw (unescaped) path and query parameters from the URI, stripping
out the scheme, host
- isRedirect
Returns true if the specified response is an HTTP redirect response, i.e. a 300,
301, 302, 303, or 3
- readCharsetInContentTypeHeader
Reads the charset directly from the Content-Type header string. If the
Content-Type header does not
- removeMatchingPort
Removes a port from a host+port if the string contains the specified port. If
the host+port does not
- base64EncodeBasicCredentials
Base64-encodes the specified username and password for Basic Authorization for
HTTP requests or upst