Package | Description |
---|---|
io.jooby |
Modifier and Type | Method and Description |
---|---|
ByteRange |
ByteRange.apply(Context ctx)
For partial request this method set the following byte range response headers:
- Accept-Ranges
- Content-Range
- Content-Length
For not satisfiable requests:
- Throws a
StatusCode.REQUESTED_RANGE_NOT_SATISFIABLE
Otherwise this method does nothing. |
static ByteRange |
ByteRange.parse(String value,
long contentLength)
Parse a byte range request value.
|
Copyright © 2019. All rights reserved.