[aerogear-dev] Proposal to change the Java Sender Builder API
Erik Jan de Wit
edewit at redhat.com
Mon Nov 10 02:31:12 EST 2014
+1 I like the static methods for creating the builder
Also makes perfect sense to make the applicationId and masterSecret part of the sender.
>
> PushSender client = DefaultPushSender.withRootServerURL("http://aerogear.example.com/ag-push")
> .proxy("proxy", 8080)
> .proxyType(Proxy.Type.HTTP)
> .build();
> PushSender client = DefaultPushSender.withConfig("/path/on/classpath/push-config.json").build();
> PushSender client = DefaultPushSender.withConfig(inputstream).build();
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20141110/0da27f0f/attachment.html
More information about the aerogear-dev
mailing list