Package | Description |
---|---|
io.jooby | |
io.jooby.internal |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
NoByteRange |
class |
NotSatisfiableByteRange |
class |
SingleByteRange
Utility class to compute single byte range requests when response content length is known.
|
Modifier and Type | Method and Description |
---|---|
ByteRange |
NoByteRange.apply(Context ctx) |
ByteRange |
NotSatisfiableByteRange.apply(Context ctx) |
ByteRange |
SingleByteRange.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. |
Copyright © 2022. All rights reserved.