public class HttpSessionTemporaryDataStorage extends Object implements TemporaryDataStorage
| Modifier and Type | Field and Description |
|---|---|
static String |
TEMP_ATTRIBUTES_ATTRIBUTE |
static String |
TEMP_OUTPUT_STREAM_ATTRIBUTE |
| Constructor and Description |
|---|
HttpSessionTemporaryDataStorage() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getAttribute(String attributeName)
Retrieves an attribute from the temporary data storage.
|
static javax.servlet.http.HttpSession |
getHttpSession()
Gives back the current HTTP session using JACC.
|
InputStream |
getTempInputStream()
Gives back the temporary input stream for retrieval of the previously
stored data.
|
OutputStream |
getTempOutputStream()
Gives back the temporary output stream that can be used for data storage.
|
void |
setAttribute(String attributeName,
Serializable attributeValue)
Stores an attribute to the temporary data storage.
|
public static final String TEMP_OUTPUT_STREAM_ATTRIBUTE
public static final String TEMP_ATTRIBUTES_ATTRIBUTE
public InputStream getTempInputStream()
TemporaryDataStoragegetTempInputStream in interface TemporaryDataStoragepublic OutputStream getTempOutputStream()
TemporaryDataStoragegetTempOutputStream in interface TemporaryDataStoragepublic static javax.servlet.http.HttpSession getHttpSession()
public Serializable getAttribute(String attributeName)
TemporaryDataStoragegetAttribute in interface TemporaryDataStoragepublic void setAttribute(String attributeName, Serializable attributeValue)
TemporaryDataStoragesetAttribute in interface TemporaryDataStorageCopyright © 2008-2018 FedICT. All Rights Reserved.