setScope(scope)
The setScope method defines the lifetime of this NameValuePair object.
The following are the valid values.
Scope.INVOCATION
: The NameValuePair object is effective during the process of this API invocation. Its value is not saved in the session.Scope.SESSION
: the NameValuePair object is effective from the beginning of this API invocation until it is removed. Its value is saved in the session. This is the default.
Return value
None