public class EncodingHandler extends Object implements HttpHandler
Constructor and Description |
---|
EncodingHandler(ContentEncodingRepository contentEncodingRepository) |
EncodingHandler(HttpHandler next,
ContentEncodingRepository contentEncodingRepository) |
Modifier and Type | Method and Description |
---|---|
HttpHandler |
getNext() |
HttpHandler |
getNoEncodingHandler() |
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
EncodingHandler |
setNext(HttpHandler next) |
EncodingHandler |
setNoEncodingHandler(HttpHandler noEncodingHandler) |
public EncodingHandler(HttpHandler next, ContentEncodingRepository contentEncodingRepository)
public EncodingHandler(ContentEncodingRepository contentEncodingRepository)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
public HttpHandler getNext()
public EncodingHandler setNext(HttpHandler next)
public HttpHandler getNoEncodingHandler()
public EncodingHandler setNoEncodingHandler(HttpHandler noEncodingHandler)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.