[aerogear-dev] Proposal to change the Java Sender Builder API

Sebastien Blanc scm.blanc at gmail.com
Mon Nov 10 05:21:49 EST 2014


I created an Epic https://issues.jboss.org/browse/AGPUSH-1097 to capture
all the different tasks discussed in this thread.


On Mon, Nov 10, 2014 at 9:10 AM, Christos Vasilakis <cvasilak at gmail.com>
wrote:

>
> On Nov 10, 2014, at 9:31 AM, Erik Jan de Wit <edewit at redhat.com> wrote:
>
> +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();
>
>
>
> +1
>
> -
> Christos
>
>
>
>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20141110/6ec2885f/attachment-0001.html 


More information about the aerogear-dev mailing list