| Package | Description |
|---|---|
| io.continual.onap.services.mrCommon | |
| io.continual.onap.services.publisher | |
| io.continual.onap.services.subscriber |
| Modifier and Type | Method and Description |
|---|---|
CommonClientBuilder |
CommonClientBuilder.asUser(String user,
String pwd)
Set HTTP basic auth credentials.
|
CommonClientBuilder |
CommonClientBuilder.defaultHttp()
If no protocol is provided on a host string, default to http://
|
CommonClientBuilder |
CommonClientBuilder.defaultHttps()
If no protocol is provided on a host string, default to https://
|
CommonClientBuilder |
CommonClientBuilder.defaultHttps(boolean https)
If no protocol is provided on a host string, default to https:// if true,
http:// if false.
|
CommonClientBuilder |
CommonClientBuilder.forgetHosts()
Clear any hosts the builder already knows about.
|
CommonClientBuilder |
CommonClientBuilder.logTo(org.slf4j.Logger log)
Specify the log to use.
|
CommonClientBuilder |
CommonClientBuilder.onTopic(String topic)
Specify the topic to publish to.
|
CommonClientBuilder |
CommonClientBuilder.socketWaitAtMost(long ms)
Specify the amount of time to wait on a socket connection, read, or write.
|
CommonClientBuilder |
CommonClientBuilder.usingProxy(String proxy)
Specify a proxy to use for the HTTP connection to Message Router.
|
CommonClientBuilder |
CommonClientBuilder.usingProxy(String host,
int port)
Specify a proxy to use for the HTTP connection to Message Router.
|
CommonClientBuilder |
CommonClientBuilder.waitingAtMost(long ms)
Deprecated.
Use socketWaitAtMost
|
CommonClientBuilder |
CommonClientBuilder.withApiKey(String apiKey,
String apiSecret)
Set an API key and secret.
|
CommonClientBuilder |
CommonClientBuilder.withClock(Clock clock)
Specify a clock to use within this implementation.
|
CommonClientBuilder |
CommonClientBuilder.withHost(String host)
Add a host to the set the publisher can use.
|
CommonClientBuilder |
CommonClientBuilder.withHosts(Collection<String> hosts)
Add each host to the host list.
|
CommonClientBuilder |
CommonClientBuilder.withHosts(String[] hosts)
Add each host to the host list.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
OnapMsgRouterPublisher.Builder
A builder for the publisher.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
OnapMsgRouterSubscriber.Builder
A builder for the subscriber.
|
Copyright © 2023 continual.io. All rights reserved.