public class SessionUIResource extends Object
| Constructor and Description |
|---|
SessionUIResource()
Instantiates a new session ui resource.
|
| Modifier and Type | Method and Description |
|---|---|
APIResult |
closeSession(UUID publicId)
Close a Lens server session.
|
String |
getMessage()
API to know if session service is up and running
|
static LensSessionHandle |
getOpenSession(UUID id)
get open session from uuid
|
LensSessionHandle |
openSession(String username,
String password,
String database,
LensConf sessionconf)
Create a new session with Lens server.
|
public SessionUIResource()
throws LensException
LensException - the lens exceptionpublic static LensSessionHandle getOpenSession(UUID id)
id - public String getMessage()
public LensSessionHandle openSession(String username, String password, String database, LensConf sessionconf)
username - User name of the Lens server userpassword - Password of the Lens server userdatabase - (Optional) Set current database to supplied valuesessionconf - Key-value properties which will be used to configure this sessionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.