Package com.arcadedb.server.http
Class HttpSession
- java.lang.Object
-
- com.arcadedb.server.http.HttpSession
-
public class HttpSession extends Object
Manage a transaction on the HTTP protocol.- Author:
- Luca Garulli ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description String
id
TransactionContext
transaction
ServerSecurityUser
user
-
Constructor Summary
Constructors Constructor Description HttpSession(ServerSecurityUser user, String id, TransactionContext dbTx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
elapsedFromLastUpdate()
HttpSession
execute(ServerSecurityUser user, Callable callback)
-
-
-
Field Detail
-
id
public final String id
-
transaction
public final TransactionContext transaction
-
user
public final ServerSecurityUser user
-
-
Constructor Detail
-
HttpSession
public HttpSession(ServerSecurityUser user, String id, TransactionContext dbTx)
-
-
Method Detail
-
elapsedFromLastUpdate
public long elapsedFromLastUpdate()
-
execute
public HttpSession execute(ServerSecurityUser user, Callable callback) throws Exception
- Throws:
Exception
-
-