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
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
public HttpHandler getNext()
public CacheHandler setNext(HttpHandler next)
Copyright © 2015 JBoss by Red Hat. All rights reserved.