Class GzipCheckerHandlerDefault

java.lang.Object
org.spincast.plugins.undertow.GzipCheckerHandlerDefault
All Implemented Interfaces:
io.undertow.server.HttpHandler, GzipCheckerHandler

public class GzipCheckerHandlerDefault extends Object implements GzipCheckerHandler
  • Constructor Details

    • GzipCheckerHandlerDefault

      public GzipCheckerHandlerDefault(io.undertow.server.HttpHandler nextHandler, @Nullable String specificTargetFilePath, SpincastUtils spincastUtils)
  • Method Details

    • getNextHandler

      protected io.undertow.server.HttpHandler getNextHandler()
    • getSpincastUtils

      protected SpincastUtils getSpincastUtils()
    • getSpecificTargetFilePath

      protected String getSpecificTargetFilePath()
    • getGzipNoNextHandler

      protected io.undertow.server.handlers.encoding.EncodingHandler getGzipNoNextHandler()
    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Throws:
      Exception
    • isContentTypeToSkipGziping

      protected boolean isContentTypeToSkipGziping(io.undertow.server.HttpServerExchange exchange)
    • getResponseContentType

      protected String getResponseContentType(io.undertow.server.HttpServerExchange exchange)