HttpHandler
public class ByteRangeHandler extends java.lang.Object implements HttpHandler
Modifier and Type | Class | Description |
---|---|---|
static class |
ByteRangeHandler.Builder |
|
static class |
ByteRangeHandler.Wrapper |
Constructor | Description |
---|---|
ByteRangeHandler(HttpHandler next,
boolean sendAcceptRanges) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public ByteRangeHandler(HttpHandler next, boolean sendAcceptRanges)
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangejava.lang.Exception
Copyright © 2018. All rights reserved.