public class CacheBusterRemovalHandlerDefault extends Object implements CacheBusterRemovalHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCHANGE_VARIABLE_ORIGINAL_REQUEST_URL |
| Constructor and Description |
|---|
CacheBusterRemovalHandlerDefault(io.undertow.server.HttpHandler next,
SpincastUtils spincastUtils,
SpincastUndertowUtils spincastUndertowUtils) |
| Modifier and Type | Method and Description |
|---|---|
protected io.undertow.server.HttpHandler |
getNext() |
String |
getOrigninalRequestUrlWithPotentialCacheBusters(io.undertow.server.HttpServerExchange exchange)
Get the original URL of the request potentially containing cache
busters.
|
protected SpincastUndertowUtils |
getSpincastUndertowUtils() |
protected SpincastUtils |
getSpincastUtils() |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
protected void |
keepOriginalRequestUrlInformation(io.undertow.server.HttpServerExchange exchange) |
protected void |
removeCacheBusterCode(io.undertow.server.HttpServerExchange exchange) |
public static final String EXCHANGE_VARIABLE_ORIGINAL_REQUEST_URL
public CacheBusterRemovalHandlerDefault(io.undertow.server.HttpHandler next,
SpincastUtils spincastUtils,
SpincastUndertowUtils spincastUndertowUtils)
protected io.undertow.server.HttpHandler getNext()
protected SpincastUtils getSpincastUtils()
protected SpincastUndertowUtils getSpincastUndertowUtils()
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
handleRequest in interface io.undertow.server.HttpHandlerExceptionprotected void keepOriginalRequestUrlInformation(io.undertow.server.HttpServerExchange exchange)
public String getOrigninalRequestUrlWithPotentialCacheBusters(io.undertow.server.HttpServerExchange exchange)
CacheBusterRemovalHandlergetOrigninalRequestUrlWithPotentialCacheBusters in interface CacheBusterRemovalHandlerprotected void removeCacheBusterCode(io.undertow.server.HttpServerExchange exchange)
Copyright © 2016. All rights reserved.