- acceptsGzipEncoding
Returns true if the HttpServletRequest accepts Gzip encoding. This is done by
checking that the acce
- exceedsUncompressedContentLengthLimit
Returns true if the response content's estimated UTF-8 byte length exceeds 256
bytes.
- writeResponse
Write the response content into the HttpServletResponse. IfgzipResponse is true,
the response conten
- readContent
Returns the content of an HttpServletRequest by decoding it usingexpectedCharSet
, or UTF-8 ifexpect
- readContentAsGwtRpc
Returns the content of an HttpServletRequest, after verifying agwt/x-gwt-rpc;
charset=utf-8 content
- checkCharacterEncodingIgnoreCase
Performs validation of the character encoding, ignoring case.
- checkContentTypeIgnoreCase
Performs Content-Type validation of the incoming request, ignoring case and any
charset parameter.
- getCharset
Get the Charset for a named character set. Caches Charsets to work around a
concurrency bottleneck i
- setGzipEncodingHeader
Sets the correct header to indicate that a response is gzipped.
- writeResponseForUnexpectedFailure
Called when the servlet itself has a problem, rather than the invoked
third-party method. It writes
- readContentAsUtf8
Returns the content of an HttpServletRequest by decoding it using the UTF-8
charset.