Class DeviceToken


  • public class DeviceToken
    extends java.lang.Object
    • Constructor Detail

      • DeviceToken

        public DeviceToken()
    • Method Detail

      • getDeviceId

        public java.lang.String getDeviceId()
      • setDeviceId

        public void setDeviceId​(java.lang.String deviceId)
      • getExpirationTime

        public long getExpirationTime()
      • setExpirationTime

        public void setExpirationTime​(long expirationTime)
      • getRemoteIpAdress

        public java.lang.String getRemoteIpAdress()
      • setRemoteIpAdress

        public void setRemoteIpAdress​(java.lang.String remoteIpAdress)
      • isValid

        public boolean isValid()
      • getAuthorizationObject

        public java.lang.Object getAuthorizationObject()
      • setAuthorizationObject

        public void setAuthorizationObject​(java.lang.Object authorizationObject)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • generate

        public static DeviceToken generate​(java.lang.String id,
                                           javax.servlet.http.HttpServletRequest request,
                                           long lifetime)