Apache-style common log formatter
General purpose exception filter.
HEAD filter.
HEAD filter. Implements HEAD by converting to a GET.
JSONP (callback) filter
JSONP (callback) filter
Wrap JSON content in <callback>(<content>);
See: https://en.wikipedia.org/wiki/JSONP
Logging filter.
Logging filter.
Logs all requests according to formatter.
Method required filter.
Method required filter.
Respond with 405 Method Not Allowed error if method not in supported method list.
Statistic filter.
Statistic filter.
Add counters: status.[code] status.[class] And metrics: time.[code] time.[class]
A filter to export statistics for HTTP streaming requests and responses.
A filter to export statistics for HTTP streaming requests and responses.
A streaming request/response is an HTTP request/response with isChunked
set to true.
This filter is included in HTTP stack by default, all metrics defined in this filter are only populated for HTTP streaming requests/responses.
Stats: ---------------Request Stream------------
You could derive the streaming success rate of:
Take request stream as an example, assuming your counters are not "latched", which means that their values are monotonically increasing:
Implements https://www.w3.org/TR/cors/
Adds headers to support Cross-origin resource sharing.
Adds headers to support Cross-origin resource sharing.
This is here for backwards compatibility. You should probably use Cors.HttpFilter directly.
General purpose exception filter.
Uncaught exceptions are converted to 500 Internal Server Error. Cancellations are converted to 499 Client Closed Request. 499 is an Nginx extension for exactly this situation, see: https://trac.nginx.org/nginx/browser/nginx/trunk/src/http/ngx_http_request.h