Modifier and Type | Class and Description |
---|---|
static class |
SessionContext.SessionState
session state.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close resources, e.g.
|
static SessionContext |
create(DefaultContext defaultContext,
String sessionId) |
Map<String,String> |
getConfigMap() |
ExecutionContext |
getExecutionContext() |
ReadableConfig |
getReadableConfig() |
String |
getSessionId() |
void |
reset()
Reset properties to default.
|
void |
reset(String key)
Reset key's property to default.
|
void |
set(String key,
String value)
Set properties.
|
public String getSessionId()
public ExecutionContext getExecutionContext()
public ReadableConfig getReadableConfig()
public void reset()
ExecutionContext
.
Reset runtime configurations specific to the current session which were set via the SET command to their default values.
public void reset(String key)
ExecutionContext
.
If key is not defined in default config file, remove it from session configuration.
public void set(String key, String value)
ExecutionContext
public void close()
public static SessionContext create(DefaultContext defaultContext, String sessionId)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.