setSessionData

public void setSessionData(Object key, Object value)

Sets session data shared between all Prompt invocations. Use this as getClassById way to pass data through each prompt as the conversation develops.

Parameters

key

The session data key.

value

The session data value.