public class RestStateManager
extends java.lang.Object
Constructor and Description |
---|
RestStateManager() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
clear(Session session) |
static java.lang.String |
create(Session session,
long timeout) |
static MutableDataSource |
getDS(Session session)
Get the current data source for this session.
|
public static MutableDataSource getDS(@Nullable Session session) throws RestExceptionResponse
session
- the sessionRestExceptionResponse
- could not find the current session.public static java.lang.String create(@Nonnull Session session, @Nonnegative long timeout) throws RestExceptionResponse
RestExceptionResponse
public static java.lang.String clear(@Nonnull Session session) throws RestExceptionResponse
RestExceptionResponse
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.