public static class HttpFeed.Builder
extends java.lang.Object
Constructor and Description |
---|
HttpFeed.Builder() |
Modifier and Type | Method and Description |
---|---|
HttpFeed.Builder |
baseUri(java.lang.String val) |
HttpFeed.Builder |
baseUri(com.google.common.base.Supplier<java.net.URI> val) |
HttpFeed.Builder |
baseUri(java.net.URI 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() |
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(EntityLocal 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 |
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 |
suspended() |
HttpFeed.Builder |
suspended(boolean startsSuspended) |
HttpFeed.Builder |
uniqueTag(java.lang.String uniqueTag) |
public HttpFeed.Builder entity(EntityLocal val)
public HttpFeed.Builder onlyIfServiceUp()
public HttpFeed.Builder onlyIfServiceUp(boolean onlyIfServiceUp)
public HttpFeed.Builder baseUri(com.google.common.base.Supplier<java.net.URI> val)
public HttpFeed.Builder baseUri(java.net.URI val)
public HttpFeed.Builder baseUrl(java.net.URL val)
public HttpFeed.Builder baseUri(java.lang.String 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 uniqueTag(java.lang.String uniqueTag)
public HttpFeed build()