Examples of endpointPrefix()


Examples of org.jboss.aerogear.simplepush.server.DefaultSimplePushConfig.Builder.endpointPrefix()

        }
        if (reaperTimeout.isDefined()) {
            simplePushConfig.userAgentReaperTimeout(reaperTimeout.asLong());
        }
        if (notificationPrefix.isDefined()) {
            simplePushConfig.endpointPrefix(notificationPrefix.asString());
        }
        if (notificationAckInterval.isDefined()) {
            simplePushConfig.ackInterval(notificationAckInterval.asLong());
        }
        return simplePushConfig;
View Full Code Here

Examples of org.jboss.aerogear.simplepush.server.DefaultSimplePushConfig.Builder.endpointPrefix()

        }
        if (reaperTimeout.isDefined()) {
            simplePushConfig.userAgentReaperTimeout(reaperTimeout.asLong());
        }
        if (notificationPrefix.isDefined()) {
            simplePushConfig.endpointPrefix(notificationPrefix.asString());
        }
        if (notificationAckInterval.isDefined()) {
            simplePushConfig.ackInterval(notificationAckInterval.asLong());
        }
        if (notifierMaxThreads.isDefined()) {
View Full Code Here

Examples of org.jboss.aerogear.simplepush.server.DefaultSimplePushConfig.Builder.endpointPrefix()

        if (endpointTls != null) {
            builder.endpointTls(endpointTls.asBoolean());
        }
        final JsonNode endpointPrefix = json.get("endpoint-prefix");
        if (endpointPrefix != null) {
            builder.endpointPrefix(endpointPrefix.asText());
        }
        final JsonNode ackInterval = json.get("ack-interval");
        if (ackInterval != null) {
            builder.ackInterval(ackInterval.asLong());
        }
View Full Code Here

Examples of org.jboss.aerogear.simplepush.server.SimplePushServerConfig.endpointPrefix()

                .userAgentReaperTimeout(1000L)
                .ackInterval(60000L)
                .password("test")
                .build();
        assertThat(config.endpointUrl(), equalTo("http://127.0.0.1:7777/update"));
        assertThat(config.endpointPrefix(), equalTo("/update"));
        assertThat(config.userAgentReaperTimeout(), is(1000L));
        assertThat(config.acknowledmentInterval(), is(60000L));
    }

    @Test
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.