| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final HttpHeaders | |
| private final String | |
| private final Map | |
| private final Optional | |
| private final Optional | |
| private final URI | |
| private final Optional |
| Access | Constructor and Description |
|---|---|
| pack-priv | ImmutableHttpRequest(HttpRequestBuilderImpl builder)
Creates an ImmutableHttpRequest from the given builder. |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | bodyPublisher()
Implements abstract java. Returns an |
| public boolean | expectContinue()
Implements abstract java. Returns this request's expect continue setting. |
| public <T> Optional | getOption(HttpOption<T> option)
Overrides java. Returns the value configured on this request for the given option, if any. |
| public HttpHeaders | headers()
Implements abstract java. The (user-accessible) request headers that this request was (or will be) sent with. |
| public String | method()
Implements abstract java. Returns the request method for this request. |
| public Map | |
| public Optional | timeout()
Implements abstract java. Returns an |
| public String | |
| public URI | |
| public Optional | version()
Implements abstract java. Returns an |
| expectContinue | back to summary |
|---|---|
| private final boolean expectContinue | |
| headers | back to summary |
|---|---|
| private final HttpHeaders headers | |
| method | back to summary |
|---|---|
| private final String method | |
| options | back to summary |
|---|---|
| private final Map<HttpOption<?>, Object> options | |
| requestPublisher | back to summary |
|---|---|
| private final Optional<HttpRequest. | |
| timeout | back to summary |
|---|---|
| private final Optional<Duration> timeout | |
| uri | back to summary |
|---|---|
| private final URI uri | |
| version | back to summary |
|---|---|
| private final Optional<HttpClient. | |
| ImmutableHttpRequest | back to summary |
|---|---|
| pack-priv ImmutableHttpRequest(HttpRequestBuilderImpl builder) Creates an ImmutableHttpRequest from the given builder. | |
| bodyPublisher | back to summary |
|---|---|
| public Optional Implements abstract java. Doc from java. Returns an
| |
| expectContinue | back to summary |
|---|---|
| public boolean expectContinue() Implements abstract java. Doc from java. Returns this request's expect continue setting.
| |
| getOption | back to summary |
|---|---|
| public <T> Optional Overrides java. Doc from java. Returns the value configured on this request for the given option, if any.
| |
| headers | back to summary |
|---|---|
| public HttpHeaders headers() Implements abstract java. Doc from java. The (user-accessible) request headers that this request was (or will be) sent with.
| |
| method | back to summary |
|---|---|
| public String method() Implements abstract java. Doc from java. Returns the request method for this request. If not set explicitly, the default method for any request is "GET".
| |
| options | back to summary |
|---|---|
| public Map | |
| timeout | back to summary |
|---|---|
| public Optional Implements abstract java. Doc from java. Returns an
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| uri | back to summary |
|---|---|
| public URI uri() Implements abstract java. Doc from java. Returns this request's
| |
| version | back to summary |
|---|---|
| public Optional Implements abstract java. Doc from java. Returns an
| |