<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Nov 10, 2014, at 9:31 AM, Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com">edewit@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>+1 I like the static methods for creating the builder</div><div>Also makes perfect sense to make the applicationId and masterSecret part of the sender.<br><blockquote type="cite"><div dir="ltr"><div><br></div><div><div>PushSender client = DefaultPushSender.withRootServerURL("<a href="http://aerogear.example.com/ag-push">http://aerogear.example.com/ag-push</a>")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .proxy("proxy", 8080)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .proxyType(Proxy.Type.HTTP)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .build();</div></div><div>PushSender client = DefaultPushSender.withConfig("/path/on/classpath/push-config.json").build();</div><div>PushSender client = DefaultPushSender.withConfig(inputstream).build();<br></div></div></blockquote></div></div></blockquote><div><br></div><div><br></div><div>+1</div><div><br></div><div>-</div><div>Christos</div><div><br></div><div><br></div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div dir="ltr"><div><br></div><div><br></div></div></blockquote></div><br></div>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></body></html>