Class ETagPolicyInjector

java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.mongodb.handlers.injectors.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 Details

    • ETagPolicyInjector

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

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

    • 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: