Package io.undertow.server.handlers
Class DisableCacheHandler
- java.lang.Object
-
- io.undertow.server.handlers.DisableCacheHandler
-
- All Implemented Interfaces:
HttpHandler
public class DisableCacheHandler extends Object implements HttpHandler
Handler that disables response caching by browsers and proxies.- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDisableCacheHandler.Builder
-
Constructor Summary
Constructors Constructor Description DisableCacheHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(HttpServerExchange exchange)Handle the request.StringtoString()
-
-
-
Constructor Detail
-
DisableCacheHandler
public DisableCacheHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
-