public class LoggerFilter
extends Object
implements Filter
Just a simple demo filter that changes exemplifies two things 1. Change the
output of the response 2. Change the status code. 3. Stops execution of all
other filters and the route method itself.
We are simply using 418 I'm a teapot (RFC 2324) .