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 |
|---|---|
void |
close()
Put object back into RunDataService for recycling
|
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRunDatapublic void put(Class<?> key, Map<Class<?>,? super Object> value)
put in interface PipelineDatakey - the key classvalue - the value mappublic Map<Class<?>,? super Object> get(Class<?> key)
get in interface PipelineDatakey - the key classpublic <T> T get(Class<?> key, Class<T> innerKey)
get in interface PipelineDataT - the type of the inner keykey - the key classinnerKey - the key into the value mappublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.