Class Pusher

  • Direct Known Subclasses:
    PushersRequest

    public class Pusher
    extends Object
    Pusher.
    A pusher is a worker on the homeserver that manages the sending of HTTP notifications for a user. A user can have multiple pushers: one per device.
    • Field Detail

      • pushkey

        private String pushkey
        This is a unique identifier for this pusher. See /set for more detail. Max length, 512 bytes.
      • kind

        private String kind
        The kind of pusher. "http" is a pusher that sends HTTP pokes.
      • appId

        private String appId
        This is a reverse-DNS style identifier for the application. Max length, 64 chars.
      • appDisplayName

        private String appDisplayName
        A string that will allow the user to identify what application owns this pusher.
      • deviceDisplayName

        private String deviceDisplayName
        A string that will allow the user to identify what device owns this pusher.
      • profileTag

        private String profileTag
        This string determines which set of device specific rules this pusher executes.
      • lang

        private String lang
        The preferred language for receiving notifications (e.g. 'en' or 'en-US')
      • data

        private PusherData data
        A dictionary of information for the pusher implementation itself.
    • Constructor Detail

      • Pusher

        public Pusher()
    • Method Detail

      • getPushkey

        public String getPushkey()
      • setPushkey

        public void setPushkey​(String pushkey)
      • getKind

        public String getKind()
      • setKind

        public void setKind​(String kind)
      • getAppId

        public String getAppId()
      • setAppId

        public void setAppId​(String appId)
      • getAppDisplayName

        public String getAppDisplayName()
      • setAppDisplayName

        public void setAppDisplayName​(String appDisplayName)
      • getDeviceDisplayName

        public String getDeviceDisplayName()
      • setDeviceDisplayName

        public void setDeviceDisplayName​(String deviceDisplayName)
      • getProfileTag

        public String getProfileTag()
      • setProfileTag

        public void setProfileTag​(String profileTag)
      • getLang

        public String getLang()
      • setLang

        public void setLang​(String lang)
      • setData

        public void setData​(PusherData data)