public static class HTTPBackend.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HTTPBackend |
build() |
HTTPBackend.Builder |
connectTimeoutInSeconds(Float connectTimeoutInSeconds)
Defines a timeout for establishing a connection with a proxied server.
|
HTTPBackend.Builder |
copy(HTTPBackend model) |
HTTPBackend.Builder |
isSslVerifyDisabled(Boolean isSslVerifyDisabled)
Defines whether or not to uphold SSL verification.
|
HTTPBackend.Builder |
readTimeoutInSeconds(Float readTimeoutInSeconds)
Defines a timeout for reading a response from the proxied server.
|
HTTPBackend.Builder |
sendTimeoutInSeconds(Float sendTimeoutInSeconds)
Defines a timeout for transmitting a request to the proxied server.
|
HTTPBackend.Builder |
url(String url) |
public HTTPBackend.Builder url(String url)
public HTTPBackend.Builder connectTimeoutInSeconds(Float connectTimeoutInSeconds)
Defines a timeout for establishing a connection with a proxied server.
connectTimeoutInSeconds
- the value to setpublic HTTPBackend.Builder readTimeoutInSeconds(Float readTimeoutInSeconds)
Defines a timeout for reading a response from the proxied server.
readTimeoutInSeconds
- the value to setpublic HTTPBackend.Builder sendTimeoutInSeconds(Float sendTimeoutInSeconds)
Defines a timeout for transmitting a request to the proxied server.
sendTimeoutInSeconds
- the value to setpublic HTTPBackend.Builder isSslVerifyDisabled(Boolean isSslVerifyDisabled)
Defines whether or not to uphold SSL verification.
isSslVerifyDisabled
- the value to setpublic HTTPBackend build()
public HTTPBackend.Builder copy(HTTPBackend model)
Copyright © 2016–2024. All rights reserved.