Class ProcessingParameters

java.lang.Object
org.jolokia.server.core.request.ProcessingParameters

public class ProcessingParameters extends Object
Class encapsulating parameters used during processing
Since:
07.02.13
Author:
roland
  • Constructor Details

    • ProcessingParameters

      public ProcessingParameters(Map<ConfigKey,String> pConfig)
      Constructor which is already filtered and splitted
      Parameters:
      pConfig - configuration to use
  • Method Details

    • get

      public String get(ConfigKey pKey)
      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

      public ProcessingParameters mergedParams(Map<String,String> pConfig)
      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

      public String 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