public class CacheHandler extends Object implements HttpHandler
| Constructor and Description |
|---|
CacheHandler(DirectBufferCache cache) |
CacheHandler(DirectBufferCache cache, HttpHandler next) |
| Modifier and Type | Method and Description |
|---|---|
HttpHandler | getNext() |
void | handleRequest(HttpServerExchange exchange) Handle the request. |
CacheHandler | setNext(HttpHandler next) |
public CacheHandler(DirectBufferCache cache, HttpHandler next)
public CacheHandler(DirectBufferCache cache)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionpublic HttpHandler getNext()
public CacheHandler setNext(HttpHandler next)
Copyright © 2020 JBoss by Red Hat. All rights reserved.