public static interface UrlRequestJob.Options
UrlRequestJob
.Modifier and Type | Interface and Description |
---|---|
static class |
UrlRequestJob.Options.Builder
A
UrlRequestJob.Options builder. |
Modifier and Type | Method and Description |
---|---|
default java.util.List<HttpHeader> |
httpHeaders()
Returns an immutable list of HTTP headers.
|
default HttpStatus |
httpStatus()
Returns the HTTP status code.
|
static UrlRequestJob.Options.Builder |
newBuilder(HttpStatus httpStatus)
Creates a new
UrlRequestJob builder with the given required parameters. |
static UrlRequestJob.Options.Builder newBuilder(HttpStatus httpStatus)
UrlRequestJob
builder with the given required parameters.httpStatus
- the HTTP status codeUrlRequestJob.Builder
instancedefault HttpStatus httpStatus()
default java.util.List<HttpHeader> httpHeaders()