Package org.jolokia.server.core.request
Class ProcessingParameters
java.lang.Object
org.jolokia.server.core.request.ProcessingParameters
Class encapsulating parameters used during processing
- Since:
- 07.02.13
- Author:
- roland
-
Constructor Summary
ConstructorsConstructorDescriptionProcessingParameters(Map<ConfigKey, String> pConfig) Constructor which is already filtered and splitted -
Method Summary
Modifier and TypeMethodDescriptionGet a processing parameterGet the path info represented with this processing parameters or null if no path info is givenmergedParams(Map<String, String> pConfig) Merge in a configuration and return a ProcessingParameters object representing the merged values
-
Constructor Details
-
ProcessingParameters
Constructor which is already filtered and splitted- Parameters:
pConfig- configuration to use
-
-
Method Details
-
get
Get a processing parameter- Parameters:
pKey- key to lookup- Returns:
- the value or the default value from the key if no config value is set
-
mergedParams
Merge in a configuration and return a ProcessingParameters object representing the merged values- Parameters:
pConfig- config to merge in- Returns:
- a new ProcessingParameters instance if the given config is not null. Otherwise this object is returned.
-
getPathInfo
Get the path info represented with this processing parameters or null if no path info is given- Returns:
- pathinfo or null if no pathinfo is set
-