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.java 433543 2006-08-22 06:22:54Z crossley $
- Author:
- Carsten Ziegeler
ROLE
public static final String ROLE
getRequestData
public Object getRequestData(String key)
removeRequestData
public void removeRequestData(String key)
setRequestData
public void setRequestData(String key,
Object value)
getGlobalRequestData
public Object getGlobalRequestData(String key)
removeGlobalRequestData
public void removeGlobalRequestData(String key)
setGlobalRequestData
public void setGlobalRequestData(String key,
Object value)
Copyright © 1999-2006 The Apache Software Foundation. All Rights Reserved.