OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.asUser(String user,
String pwd) |
Set HTTP basic auth credentials.
|
static OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.builder() |
Get a new builder
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.defaultHttp() |
If no protocol is provided on a host string, default to http://
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.defaultHttps() |
If no protocol is provided on a host string, default to https://
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.defaultHttps(boolean https) |
If no protocol is provided on a host string, default to https:// if true,
http:// if false.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.forgetHosts() |
Clear any hosts the builder already knows about.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.inGroup(String group) |
Specify the subscriber group that this subscriber belongs to.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.noRecvLimit() |
Do not specify a maximum number of events to return on a fetch, allowing the
server to determine the number to send.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.onTopic(String topic) |
Specify the topic to publish to.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.parseWith(JsonResponseParser p) |
Provide a response parser.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.recvAtMostEvents(int eventCount) |
Specify the maximum number of events to return on a fetch.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.socketWaitAtMost(long ms) |
Specify the amount of time to wait on a socket connection, read, or write.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.usingProxy(String proxy) |
Specify a proxy to use for the HTTP connection to Message Router.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.usingProxy(String host,
int port) |
Specify a proxy to use for the HTTP connection to Message Router.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.waitAtServerAtMost(long ms) |
Specify the amount of time to wait at the server for messages.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.withApiKey(String apiKey,
String apiSecret) |
Set an API key and secret.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.withClock(Clock clock) |
Specify a clock to use within this implementation.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.withHost(String host) |
Add a host to the set the publisher can use.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.withHosts(String[] hosts) |
Add each host to the host list.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.withHosts(Collection<String> hosts) |
Add each host to the host list.
|
OnapMsgRouterSubscriber.Builder |
OnapMsgRouterSubscriber.Builder.withSubscriberId(String id) |
Specify the subscriber id for this subscriber.
|