com.zipwhip.api.subscriptions.PushSubscriptionEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zipwhip-api Show documentation
Show all versions of zipwhip-api Show documentation
Java client to support applications powered by the Zipwhip Cloud
The newest version!
package com.zipwhip.api.subscriptions;
import org.json.JSONObject;
/**
* Created by IntelliJ IDEA. Date: Jul 19, 2009 Time: 5:20:02 PM
*/
public class PushSubscriptionEntry extends SubscriptionEntry {
public PushSubscriptionEntry() {
super("push", null);
}
public PushSubscriptionEntry(String url) {
this();
this.setSignalFilters("/signal");
this.setURL(url);
}
public void setURL(String url) {
this.setEncodedSubscriptionSettings("{url:" + JSONObject.quote(url) + "}");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy