Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Session |
build()
Create a new instance of session.
|
<T> Session.Builder |
put(@NotNull Session.Key<T> key,
T value)
Adds a session variable into store.
|
public final <T> Session.Builder put(@NotNull @NotNull Session.Key<T> key, @Nullable T value)
T
- the type of the value of the session variablekey
- an unique name of the session variablevalue
- the value of the session variablepublic final Session build()
Copyright © 2019. All rights reserved.