public interface PipelineData extends AutoCloseable
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.
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,? super Object> |
get(Class<?> name)
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
|
default RunData |
getRunData()
Get RunData from PipelineData
|
void |
put(Class<?> name,
Map<Class<?>,? super Object> value)
Put a configured map of objects into the pipeline data object
|
close
void put(Class<?> name, Map<Class<?>,? super Object> value)
name
- the key classvalue
- the value mapMap<Class<?>,? super Object> get(Class<?> name)
name
- the key class<T> T get(Class<?> key, Class<T> innerKey)
T
- the type of the inner keykey
- the key classinnerKey
- the key into the value mapdefault RunData getRunData()
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.