Uses of Class
io.continual.onap.services.subscriber.OnapMsgRouterSubscriber.Builder
Packages that use OnapMsgRouterSubscriber.Builder
-
Uses of OnapMsgRouterSubscriber.Builder in io.continual.onap.services.subscriber
Methods in io.continual.onap.services.subscriber that return OnapMsgRouterSubscriber.BuilderModifier and TypeMethodDescriptionSet HTTP basic auth credentials.OnapMsgRouterSubscriber.builder()Get a new builderOnapMsgRouterSubscriber.Builder.defaultHttp()If no protocol is provided on a host string, default to http://OnapMsgRouterSubscriber.Builder.defaultHttps()If no protocol is provided on a host string, default to https://OnapMsgRouterSubscriber.Builder.defaultHttps(boolean https) If no protocol is provided on a host string, default to https:// if true, http:// if false.OnapMsgRouterSubscriber.Builder.forgetHosts()Clear any hosts the builder already knows about.Specify the subscriber group that this subscriber belongs to.OnapMsgRouterSubscriber.Builder.logTo(org.slf4j.Logger log) Specify the log to use.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.Specify the topic to publish to.OnapMsgRouterSubscriber.Builder.parseWith(JsonResponseParser p) Provide a response parser.OnapMsgRouterSubscriber.Builder.recvAtMostEvents(int eventCount) Specify the maximum number of events to return on a fetch.OnapMsgRouterSubscriber.Builder.socketWaitAtMost(long ms) Specify the amount of time to wait on a socket connection, read, or write.OnapMsgRouterSubscriber.Builder.usingProxy(String proxy) Specify a proxy to use for the HTTP connection to Message Router.OnapMsgRouterSubscriber.Builder.usingProxy(String host, int port) Specify a proxy to use for the HTTP connection to Message Router.OnapMsgRouterSubscriber.Builder.waitAtServerAtMost(long ms) Specify the amount of time to wait at the server for messages.OnapMsgRouterSubscriber.Builder.withApiKey(String apiKey, String apiSecret) Set an API key and secret.Specify a clock to use within this implementation.Add a host to the set the publisher can use.Add each host to the host list.OnapMsgRouterSubscriber.Builder.withHosts(Collection<String> hosts) Add each host to the host list.OnapMsgRouterSubscriber.Builder.withSubscriberId(String id) Specify the subscriber id for this subscriber.