| Modifier and Type | Method and Description |
|---|---|
| public HttpClientRequest | |
| public HttpClientRequest | Returns: this outboundheader name name, CharSequence header value value)Add an outbound http header, appending the value if the header is already set. |
| public HttpClientRequest | Returns: this outboundheaders key name, CharSequence header value value)Set an outbound header, replacing any pre-existing value. |
| public HttpClientRequest | Returns: this outbounda netty headers map headers)Set outbound headers from the passed headers. |
| public boolean | Returns: true if redirected will be followedReturn true if redirected will be followed |
| public HttpClientRequest | Returns: this outboundthe maximum duration allowed between each network-level read operations
(resolution: ms). maxReadOperationInterval)Specifies the maximum duration allowed between each network-level read operation while reading a given response (resolution: ms). |
| addCookie | back to summary |
|---|---|
| public HttpClientRequest addCookie(HttpCookiePair cookie) Add an outbound cookie
| |
| addHeader | back to summary |
|---|---|
| public HttpClientRequest addHeader(CharSequence name, CharSequence value) Add an outbound http header, appending the value if the header is already set.
| |
| header | back to summary |
|---|---|
| public HttpClientRequest header(CharSequence name, CharSequence value) Set an outbound header, replacing any pre-existing value.
| |
| headers | back to summary |
|---|---|
| public HttpClientRequest headers(HttpHeaders headers) Set outbound headers from the passed headers. It will however ignore
| |
| isFollowRedirect | back to summary |
|---|---|
| public boolean isFollowRedirect() Return true if redirected will be followed
| |
| responseTimeout | back to summary |
|---|---|
| public HttpClientRequest responseTimeout(Duration maxReadOperationInterval) Specifies the maximum duration allowed between each network-level read operation while reading a given response
(resolution: ms). In other words,
| |