org.springframework.boot.actuate.session

Class SessionsEndpoint.SessionDescriptor

  • java.lang.Object
    • org.springframework.boot.actuate.session.SessionsEndpoint.SessionDescriptor
  • Enclosing class:
    SessionsEndpoint


    public static final class SessionsEndpoint.SessionDescriptor
    extends Object
    A description of user's session. Primarily intended for serialization to JSON.
    • Constructor Detail

      • SessionDescriptor

        public SessionDescriptor(org.springframework.session.Session session)
    • Method Detail

      • getId

        public String getId()
      • getAttributeNames

        public Set<String> getAttributeNames()
      • getCreationTime

        public Instant getCreationTime()
      • getLastAccessedTime

        public Instant getLastAccessedTime()
      • getMaxInactiveInterval

        public long getMaxInactiveInterval()
      • isExpired

        public boolean isExpired()