<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;"><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><br></div><div><br></div></div></blockquote></div><br></body></html>