APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setBaseURL(java.lang.String baseURL) |
Methods like APIRequestContext.get() take the base URL into consideration by using the URL() constructor for building the
corresponding URL.
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setExtraHTTPHeaders(java.util.Map<java.lang.String,java.lang.String> extraHTTPHeaders) |
An object containing additional HTTP headers to be sent with every request.
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setHttpCredentials(HttpCredentials httpCredentials) |
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setHttpCredentials(java.lang.String username,
java.lang.String password) |
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setIgnoreHTTPSErrors(boolean ignoreHTTPSErrors) |
Whether to ignore HTTPS errors when sending network requests.
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setProxy(Proxy proxy) |
Network proxy settings.
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setProxy(java.lang.String server) |
Network proxy settings.
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setStorageState(java.lang.String storageState) |
Populates context with given storage state.
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setStorageStatePath(java.nio.file.Path storageStatePath) |
Populates context with given storage state.
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setTimeout(double timeout) |
Maximum time in milliseconds to wait for the response.
|
APIRequest.NewContextOptions |
APIRequest.NewContextOptions.setUserAgent(java.lang.String userAgent) |
Specific user agent to use in this context.
|