Class Device

    • Constructor Detail

      • Device

        public Device()
      • Device

        public Device​(javax.servlet.http.HttpServletRequest request)
        Constructs a new Device inspecting the current request
        Parameters:
        request - the current request
    • Method Detail

      • getBrowser

        public String getBrowser()
      • setBrowser

        public void setBrowser​(String browser)
      • getBrowserVersion

        public String getBrowserVersion()
      • setBrowserVersion

        public void setBrowserVersion​(String browserVersion)
      • getOperativeSystem

        public String getOperativeSystem()
      • setOperativeSystem

        public void setOperativeSystem​(String operativeSystem)
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • getCreation

        public Date getCreation()
      • setCreation

        public void setCreation​(Date creation)
      • getLastLogin

        public Date getLastLogin()
      • setLastLogin

        public void setLastLogin​(Date lastLogin)
      • getUserId

        public long getUserId()
      • setUserId

        public void setUserId​(long userId)
      • getDeviceId

        public String getDeviceId()
      • setDeviceId

        public void setDeviceId​(String deviceId)
      • getTrusted

        public int getTrusted()
      • setTrusted

        public void setTrusted​(int trusted)
      • getIp

        public String getIp()
      • setIp

        public void setIp​(String ip)
      • getUsername

        public String getUsername()
      • setUsername

        public void setUsername​(String username)