List of usage examples for org.springframework.boot.web.embedded.undertow UndertowCompressionConfigurer configureCompression
static HttpHandler configureCompression(Compression compression, HttpHandler httpHandler)
From source file:org.springframework.boot.web.embedded.undertow.UndertowServletWebServer.java
private HttpHandler getContextHandler(HttpHandler httpHandler) { HttpHandler contextHandler = UndertowCompressionConfigurer.configureCompression(this.compression, httpHandler);/*w w w . j av a 2s. c om*/ if (StringUtils.isEmpty(this.contextPath)) { return contextHandler; } return Handlers.path().addPrefixPath(this.contextPath, contextHandler); }