Class ConfigurableEncodingHandler

java.lang.Object
io.undertow.server.handlers.encoding.EncodingHandler
org.restheart.handlers.ConfigurableEncodingHandler
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class ConfigurableEncodingHandler extends io.undertow.server.handlers.encoding.EncodingHandler
Author:
Andrea Di Cesare <[email protected]>
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.undertow.server.handlers.encoding.EncodingHandler

    io.undertow.server.handlers.encoding.EncodingHandler.Builder
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfigurableEncodingHandler(io.undertow.server.HttpHandler next)
    Creates a new instance of ConfigurableEncodingHandler if Configuration().isForceGzipEncoding() is true requests without gzip or deflate encodingin Accept-Encoding header will be rejected
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleRequest(io.undertow.server.HttpServerExchange exchange)
     

    Methods inherited from class io.undertow.server.handlers.encoding.EncodingHandler

    getNext, getNoEncodingHandler, setNext, setNoEncodingHandler, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ConfigurableEncodingHandler

      public ConfigurableEncodingHandler(io.undertow.server.HttpHandler next)
      Creates a new instance of ConfigurableEncodingHandler if Configuration().isForceGzipEncoding() is true requests without gzip or deflate encodingin Accept-Encoding header will be rejected
      Parameters:
      next -
  • Method Details

    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Overrides:
      handleRequest in class io.undertow.server.handlers.encoding.EncodingHandler
      Throws:
      Exception