ServerFilters
Types
ApiKey token checking.
Bearer Auth token checking.
Sets the Content-Disposition response header on the Response for the selected path extensions. By default all extensions are selected, including paths with no extension. If no path is present, the filename will be set to unnamed.
Copy headers from the incoming request to the outbound response.
Basic GZip and Gunzip support of Request/Response where the content-type is in the allowed list. Only Gunzips requests which contain "content-encoding" header containing 'gzip' Only Gzips responses when request contains "accept-encoding" header containing 'gzip' and the content-type (sans-charset) is one of the compressible types.
Initialise a RequestContext for each request which passes through the Filter stack,
Intercepts responses and replaces the contents with contents of the statically loaded resource. By default, this Filter replaces the contents of unsuccessful requests with the contents of a file named after the status code.
Adds Zipkin request tracing headers to the incoming request and outbound response. (traceid, spanid, parentspanid)
Sets the Content Type response header on the Response.
Checks that client supplied values are valid, and either remove or reject
Properties
Converts Lens extraction failures into correct HTTP responses (Bad Requests/UnsupportedMediaType). This is required when using lenses to automatically unmarshall inbound requests. Note that LensFailures from unmarshalling upstream Response objects are NOT caught to avoid incorrect server behaviour.
Functions
Converts Lens extraction failures into correct HTTP responses (Bad Requests/UnsupportedMediaType). This is required when using lenses to automatically unmarshall inbound requests. Note that LensFailures from unmarshalling upstream Response objects are NOT caught to avoid incorrect server behaviour.
Convenience method to report the HTTP transaction to the Events system.