@Header(value="Accept-Ranges") public final class AcceptRanges extends HeaderString
What partial content range types this server supports via byte serving.
Accept-Ranges: bytes
Accept-Ranges = "Accept-Ranges" ":" acceptable-ranges acceptable-ranges = 1#range-unit | "none"
Origin servers that accept byte-range requests MAY send...
Accept-Ranges: bytes
...but are not required to do so.
Clients MAY generate byte-range requests without having received this header for the resource involved.
Range units are defined in section 3.12.
Servers that do not accept any kind of range request for a resource MAY send...
Accept-Ranges: none
...to advise the client not to attempt a range request.
Modifier and Type | Method and Description |
---|---|
static AcceptRanges |
forString(String value)
Returns a parsed
|
asString, eq, eqIC, toString
public static AcceptRanges forString(String value)
value
- The Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.