public class GzipCheckerHandlerDefault extends Object implements GzipCheckerHandler
| Constructor and Description |
|---|
GzipCheckerHandlerDefault(io.undertow.server.HttpHandler nextHandler,
String specificTargetFilePath,
SpincastUtils spincastUtils) |
| Modifier and Type | Method and Description |
|---|---|
protected io.undertow.server.handlers.encoding.EncodingHandler |
getGzipNoNextHandler() |
protected io.undertow.server.HttpHandler |
getNextHandler() |
protected String |
getResponseContentType(io.undertow.server.HttpServerExchange exchange) |
protected String |
getSpecificTargetFilePath() |
protected SpincastUtils |
getSpincastUtils() |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
protected boolean |
isContentTypeToSkipGziping(io.undertow.server.HttpServerExchange exchange) |
public GzipCheckerHandlerDefault(io.undertow.server.HttpHandler nextHandler,
@Nullable
String specificTargetFilePath,
SpincastUtils spincastUtils)
protected io.undertow.server.HttpHandler getNextHandler()
protected SpincastUtils getSpincastUtils()
protected String getSpecificTargetFilePath()
protected io.undertow.server.handlers.encoding.EncodingHandler getGzipNoNextHandler()
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
handleRequest in interface io.undertow.server.HttpHandlerExceptionprotected boolean isContentTypeToSkipGziping(io.undertow.server.HttpServerExchange exchange)
protected String getResponseContentType(io.undertow.server.HttpServerExchange exchange)
Copyright © 2019. All rights reserved.