Docs: JavaDoc for Session

This commit is contained in:
Lars Simon Winzer
2026-03-28 13:12:43 +01:00
parent fc4a88ee95
commit 1f4ccb1033
@@ -49,10 +49,16 @@ public class Session {
return this.id;
}
/**
* Gets the timestamp of the last inbound activity for this session.
*
* @return an {@link Instant} representing the time of the last inbound activity
*/
public Instant getLastInboundActivity() {
return lastActivity;
}
/** Updates the timestamp of the last inbound activity for this session. */
public void updateLastInboundActivity() {
this.lastActivity = Instant.now();
}