| Modifier and Type | Method and Description |
|---|---|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.asUser(String user,
String pwd)
Set HTTP basic auth credentials.
|
static OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.builder()
Get a new builder
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.defaultHttp()
If no protocol is provided on a host string, default to http://
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.defaultHttps()
If no protocol is provided on a host string, default to https://
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.defaultHttps(boolean https)
If no protocol is provided on a host string, default to https:// if true,
http:// if false.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.forgetHosts()
Clear any hosts the builder already knows about.
|
static OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.localTest()
Get a local test publisher builder to optionally customize further.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.logTo(org.slf4j.Logger log)
Specify the log to use.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.onTopic(String topic)
Specify the topic to publish to.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.waitingAtMost(long ms)
Specify the amount of time to wait on a socket connection, read, or write.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.withClock(OnapMsgRouterPublisher.Clock clock) |
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.withHost(String host)
Add a host to set the publisher can use.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.withHosts(Collection<String> hosts)
Add each host to the host list.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.withHosts(String[] hosts)
Add each host to the host list.
|
Copyright © 2019 continual.io. All rights reserved.