List of usage examples for io.netty.handler.codec.http HttpHeaderNames RANGE
AsciiString RANGE
To view the source code for io.netty.handler.codec.http HttpHeaderNames RANGE.
Click Source Link
From source file:io.crate.protocols.http.HttpBlobHandler.java
License:Apache License
private void get(HttpRequest request, String index, final String digest) throws IOException { String range = request.headers().get(HttpHeaderNames.RANGE); if (range != null) { partialContentResponse(range, request, index, digest); } else {//from w w w.jav a2s . com fullContentResponse(request, index, digest); } }