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 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()
TemporaryDataStorage
getTempInputStream
in interface TemporaryDataStorage
public OutputStream getTempOutputStream()
TemporaryDataStorage
getTempOutputStream
in interface TemporaryDataStorage
public static HttpSession getHttpSession()
public Serializable getAttribute(String attributeName)
TemporaryDataStorage
getAttribute
in interface TemporaryDataStorage
public void setAttribute(String attributeName, Serializable attributeValue)
TemporaryDataStorage
setAttribute
in interface TemporaryDataStorage
Copyright © 2008-2015 FedICT. All Rights Reserved.