public static class HttpFeed.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HttpFeed.Builder |
baseUri(<any> val) |
HttpFeed.Builder |
baseUriVar(java.lang.String key,
java.lang.String val) |
HttpFeed.Builder |
baseUriVars(java.util.Map<java.lang.String,java.lang.String> vals) |
HttpFeed.Builder |
baseUrl(java.net.URL val) |
HttpFeed |
build() |
java.util.Map<java.lang.String,java.lang.String> |
buildBaseHeaders() |
HttpFeed.Builder |
credentials(java.lang.String username,
java.lang.String password) |
HttpFeed.Builder |
credentialsIfNotNull(java.lang.String username,
java.lang.String password) |
HttpFeed.Builder |
entity(Entity val) |
HttpFeed.Builder |
header(java.lang.String key,
java.lang.String val) |
HttpFeed.Builder |
headers(java.util.Map<java.lang.String,java.lang.String> vals) |
HttpFeed.Builder |
httpExecutor(HttpExecutor val) |
HttpFeed.Builder |
onlyIfServiceUp() |
HttpFeed.Builder |
onlyIfServiceUp(boolean onlyIfServiceUp) |
HttpFeed.Builder |
period(Duration duration) |
HttpFeed.Builder |
period(long millis) |
HttpFeed.Builder |
period(long val,
java.util.concurrent.TimeUnit units) |
HttpFeed.Builder |
poll(HttpPollConfig<?> config) |
HttpFeed.Builder |
preemptiveBasicAuth(java.lang.Boolean val) |
HttpFeed.Builder |
suspended() |
HttpFeed.Builder |
suspended(boolean startsSuspended) |
HttpFeed.Builder |
uniqueTag(java.lang.String uniqueTag) |
public HttpFeed.Builder entity(Entity val)
public HttpFeed.Builder onlyIfServiceUp()
public HttpFeed.Builder onlyIfServiceUp(boolean onlyIfServiceUp)
public HttpFeed.Builder baseUri(<any> val)
public HttpFeed.Builder baseUrl(java.net.URL val)
public HttpFeed.Builder baseUriVars(java.util.Map<java.lang.String,java.lang.String> vals)
public HttpFeed.Builder baseUriVar(java.lang.String key, java.lang.String val)
public HttpFeed.Builder headers(java.util.Map<java.lang.String,java.lang.String> vals)
public HttpFeed.Builder header(java.lang.String key, java.lang.String val)
public HttpFeed.Builder period(Duration duration)
public HttpFeed.Builder period(long millis)
public HttpFeed.Builder period(long val, java.util.concurrent.TimeUnit units)
public HttpFeed.Builder poll(HttpPollConfig<?> config)
public HttpFeed.Builder suspended()
public HttpFeed.Builder suspended(boolean startsSuspended)
public HttpFeed.Builder credentials(java.lang.String username, java.lang.String password)
public HttpFeed.Builder credentialsIfNotNull(java.lang.String username, java.lang.String password)
public HttpFeed.Builder preemptiveBasicAuth(java.lang.Boolean val)
public HttpFeed.Builder uniqueTag(java.lang.String uniqueTag)
public HttpFeed.Builder httpExecutor(HttpExecutor val)
public java.util.Map<java.lang.String,java.lang.String> buildBaseHeaders()
public HttpFeed build()