Skip to content

Home

com.hexagonkt.http.server / Session

Session

abstract class Session

Provides session information.

Constructors

Name Summary
<init> Session()
Provides session information.

Properties

Name Summary
attributes val attributes:Map<String,Any?>
creationTime val creationTime:Long?
id val id:String?
A string containing the unique identifier assigned to this session (Cookie).
lastAccessedTime val lastAccessedTime:Long?
maxInactiveInterval var maxInactiveInterval:Int?

Functions

Name Summary
attributes abstract fun attributes():Map<String,Any?>
creationTime abstract fun creationTime():Long?
get fun get(name:String):Any?
getAttribute abstract fun getAttribute(name:String):Any?
id abstract fun id():String?
A string containing the unique identifier assigned to this session (Cookie).
invalidate abstract fun invalidate():Unit
isNew abstract fun isNew():Boolean
lastAccessedTime abstract fun lastAccessedTime():Long?
maxInactiveInterval abstract fun maxInactiveInterval():Int?
abstract fun maxInactiveInterval(value:Int?):Unit
remove fun remove(name:String):Unit
removeAttribute abstract fun removeAttribute(name:String):Unit
set fun set(name:String, value:Any):Unit
setAttribute abstract fun setAttribute(name:String, value:Any):Unit