congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ProcessingParameters.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jolokia.config.ProcessingParameters
constructor

Best Java code snippets using org.jolokia.config.ProcessingParameters.<init> (Showing top 6 results out of 315)

origin: rhuss/jolokia

/**
 * Merge in a configuration and return a ProcessingParameters object representing
 * the merged values
 *
 * @param pConfig config to merge in
 * @return a new ProcessingParameters instance if the given config is not null. Otherwise this object
 *         is returned.
 */
public ProcessingParameters mergedParams(Map<String, String> pConfig) {
  if (pConfig == null) {
    return this;
  } else {
    Map<ConfigKey,String> newParams = new HashMap<ConfigKey, String>();
    newParams.putAll(params);
    newParams.putAll(convertToConfigMap(pConfig));
    return new ProcessingParameters(newParams, pathInfo);
  }
}
origin: rhuss/jolokia

/**
 * Get processing parameters from a string-string map
 *
 * @param pParams params to extra. A parameter "p" is used as extra path info
 * @return the processing parameters
 */
public ProcessingParameters getProcessingParameters(Map<String,String> pParams) {
  Map<ConfigKey,String> procParams = ProcessingParameters.convertToConfigMap(pParams);
  for (Map.Entry<ConfigKey,String> entry : globalConfig.entrySet()) {
    ConfigKey key = entry.getKey();
    if (key.isRequestConfig() && !procParams.containsKey(key)) {
      procParams.put(key,entry.getValue());
    }
  }
  return new ProcessingParameters(procParams,pParams.get(PATH_QUERY_PARAM));
}
origin: org.jolokia/jolokia-core

/**
 * Merge in a configuration and return a ProcessingParameters object representing
 * the merged values
 *
 * @param pConfig config to merge in
 * @return a new ProcessingParameters instance if the given config is not null. Otherwise this object
 *         is returned.
 */
public ProcessingParameters mergedParams(Map<String, String> pConfig) {
  if (pConfig == null) {
    return this;
  } else {
    Map<ConfigKey,String> newParams = new HashMap<ConfigKey, String>();
    newParams.putAll(params);
    newParams.putAll(convertToConfigMap(pConfig));
    return new ProcessingParameters(newParams, pathInfo);
  }
}
origin: org.jolokia/jolokia-osgi

/**
 * Merge in a configuration and return a ProcessingParameters object representing
 * the merged values
 *
 * @param pConfig config to merge in
 * @return a new ProcessingParameters instance if the given config is not null. Otherwise this object
 *         is returned.
 */
public ProcessingParameters mergedParams(Map<String, String> pConfig) {
  if (pConfig == null) {
    return this;
  } else {
    Map<ConfigKey,String> newParams = new HashMap<ConfigKey, String>();
    newParams.putAll(params);
    newParams.putAll(convertToConfigMap(pConfig));
    return new ProcessingParameters(newParams, pathInfo);
  }
}
origin: org.jolokia/jolokia-core

/**
 * Get processing parameters from a string-string map
 *
 * @param pParams params to extra. A parameter "p" is used as extra path info
 * @return the processing parameters
 */
public ProcessingParameters getProcessingParameters(Map<String,String> pParams) {
  Map<ConfigKey,String> procParams = ProcessingParameters.convertToConfigMap(pParams);
  for (Map.Entry<ConfigKey,String> entry : globalConfig.entrySet()) {
    ConfigKey key = entry.getKey();
    if (key.isRequestConfig() && !procParams.containsKey(key)) {
      procParams.put(key,entry.getValue());
    }
  }
  return new ProcessingParameters(procParams,pParams.get(PATH_QUERY_PARAM));
}
origin: org.jolokia/jolokia-osgi

/**
 * Get processing parameters from a string-string map
 *
 * @param pParams params to extra. A parameter "p" is used as extra path info
 * @return the processing parameters
 */
public ProcessingParameters getProcessingParameters(Map<String,String> pParams) {
  Map<ConfigKey,String> procParams = ProcessingParameters.convertToConfigMap(pParams);
  for (Map.Entry<ConfigKey,String> entry : globalConfig.entrySet()) {
    ConfigKey key = entry.getKey();
    if (key.isRequestConfig() && !procParams.containsKey(key)) {
      procParams.put(key,entry.getValue());
    }
  }
  return new ProcessingParameters(procParams,pParams.get(PATH_QUERY_PARAM));
}
org.jolokia.configProcessingParameters<init>

Javadoc

Constructor which is already filtered and splitted

Popular methods of ProcessingParameters

  • convertToConfigMap
  • get
    Get a processing parameter
  • getPathInfo
    Get the path info represented with this processing parameters or null if no path info is given
  • mergedParams
    Merge in a configuration and return a ProcessingParameters object representing the merged values

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now