Class ETagPolicyInjector

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

    public class ETagPolicyInjector
    extends PipelinedHandler
    injects the ETag Policy
    Author:
    Andrea Di Cesare <andrea@softinstigate.com>
    • Constructor Detail

      • ETagPolicyInjector

        public ETagPolicyInjector()
        Creates a new instance of ETagPolicyInjector
      • ETagPolicyInjector

        public ETagPolicyInjector​(PipelinedHandler next)
        Creates a new instance of ETagPolicyInjector
        Parameters:
        next -
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange exchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Specified by:
        handleRequest in class PipelinedHandler
        Parameters:
        exchange -
        Throws:
        Exception
      • isETagCheckRequired

        public boolean isETagCheckRequired​(MongoRequest request)
        Parameters:
        request -
        Returns: