public class GzipCheckerHandler extends Object implements IGzipCheckerHandler
| Constructor and Description |
|---|
GzipCheckerHandler(io.undertow.server.HttpHandler nextHandler,
String specificTargetFilePath,
ISpincastUtils 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 ISpincastUtils |
getSpincastUtils() |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
protected boolean |
isContentTypeToSkipGziping(io.undertow.server.HttpServerExchange exchange) |
public GzipCheckerHandler(io.undertow.server.HttpHandler nextHandler,
@Nullable
String specificTargetFilePath,
ISpincastUtils spincastUtils)
protected io.undertow.server.HttpHandler getNextHandler()
protected ISpincastUtils 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 © 2016. All rights reserved.