| Package | Description |
|---|---|
| de.taimos.httputils |
| Modifier and Type | Method and Description |
|---|---|
HTTPRequest |
HTTPRequest.accept(String type) |
HTTPRequest |
HTTPRequest.auth(String authString) |
HTTPRequest |
HTTPRequest.authBasic(String user,
String password) |
HTTPRequest |
HTTPRequest.authBearer(String accessToken) |
HTTPRequest |
HTTPRequest.body(String bodyString) |
HTTPRequest |
HTTPRequest.contentType(String type) |
HTTPRequest |
HTTPRequest.followRedirect(boolean follow) |
HTTPRequest |
HTTPRequest.form(Map<String,String> form) |
HTTPRequest |
HTTPRequest.header(String name,
String value) |
HTTPRequest |
HTTPRequest.pathParam(String name,
String value) |
HTTPRequest |
HTTPRequest.queryParam(String name,
String value) |
HTTPRequest |
HTTPRequest.retry()
Retry 5 times on Exception or 5XX status code with exponential backoff.
|
HTTPRequest |
HTTPRequest.retry(int maxRetries,
Retryable retryable,
WaitStrategy waitStrategy)
Retry.
|
HTTPRequest |
HTTPRequest.timeout(int newTimeout) |
static HTTPRequest |
WS.url(String url) |
HTTPRequest |
HTTPRequest.userAgent(String agent) |
Copyright © 2012–2018 Taimos GmbH. All rights reserved.