org.apache.cocoon.components.persistence
Interface RequestDataStore
- All Known Implementing Classes:
- RequestDataStoreImpl
public interface RequestDataStore
A request data store is a component that manages data that is
linked to the current request.
With the setRequestData() method you can link any object to the
current request. This object can be fetched via getRequestData()
as long as the request is running. This data is not available
in any sub-request (cocoon: protocol calls).
If you want to share data between the main request and any sub-request
than you have to use the setGlobalRequestData etc. methods.
This component is a replacement for the request lifecycle and
global request lifecycle components.
- Since:
- 2.1.1
- Version:
- CVS $Id: RequestDataStore.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
ROLE
static final String ROLE
getRequestData
Object getRequestData(String key)
removeRequestData
void removeRequestData(String key)
setRequestData
void setRequestData(String key,
Object value)
getGlobalRequestData
Object getGlobalRequestData(String key)
removeGlobalRequestData
void removeGlobalRequestData(String key)
setGlobalRequestData
void setGlobalRequestData(String key,
Object value)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.