public class DefaultPipelineData extends Object implements PipelineData
A PipelineData is a holder for data being passed from one
Valve to the next.
The detailed contract for a Valve is included in the description of
the invoke()
method below.
Constructor and Description |
---|
DefaultPipelineData() |
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,? super Object> |
get(Class<?> key)
Get the configured map of objects for the given key
|
<T> T |
get(Class<?> key,
Class<T> innerKey)
Get a value from the configured map of objects for the given keys
|
void |
put(Class<?> key,
Map<Class<?>,? super Object> value)
Put a configured map of objects into the pipeline data object
|
public DefaultPipelineData()
public void put(Class<?> key, Map<Class<?>,? super Object> value)
put
in interface PipelineData
key
- the key classvalue
- the value mappublic Map<Class<?>,? super Object> get(Class<?> key)
get
in interface PipelineData
key
- the key classpublic <T> T get(Class<?> key, Class<T> innerKey)
get
in interface PipelineData
key
- the key classinnerKey
- the key into the value mapCopyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.