| Package | Description |
|---|---|
| io.continual.onap.services.publisher |
| 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.usingProxy(String proxy)
Specify a proxy to use for the HTTP connection to Message Router.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.usingProxy(String host,
int port)
Specify a proxy to use for the HTTP connection to Message Router.
|
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.withApiKey(String apiKey,
String apiSecret)
Set an API key and secret.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.withClock(Clock clock)
Specify a clock to use within this implementation.
|
OnapMsgRouterPublisher.Builder |
OnapMsgRouterPublisher.Builder.withHost(String host)
Add a host to the 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 © 2021 continual.io. All rights reserved.