Class RequestFilterHandler

  • All Implemented Interfaces:
    LightHttpHandler, io.undertow.server.HttpHandler

    public class RequestFilterHandler
    extends Object
    implements LightHttpHandler
    This is a middleware handler that is responsible for filter out some fields from the request body for security reasons. Normally it is based on client_id, or other JWT claims to do the filter. The real implementation must be extend this and need some domain knowledge to complete the filter logic.
    Author:
    Steve Hu
    • Constructor Detail

      • RequestFilterHandler

        public RequestFilterHandler()
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange httpServerExchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Throws:
        Exception