Package org.jolokia.service.jsr160
Class ProxyTargetConfig
java.lang.Object
org.jolokia.service.jsr160.ProxyTargetConfig
Configuration for proxy mode
- Since:
- 15.03.11
- Author:
- roland
-
Constructor Summary
ConstructorsConstructorDescriptionProxyTargetConfig(Map<String, String> pMap) Map which should contain the following keysurl-- JSR-160 Url of the target (mandatory)userandpassword-- user and password to use (optional) -
Method Summary
-
Constructor Details
-
ProxyTargetConfig
Map which should contain the following keysurl-- JSR-160 Url of the target (mandatory)userandpassword-- user and password to use (optional)
- Parameters:
pMap- map containing configuration
-
-
Method Details
-
getUrl
JSR-160 service URL- Returns:
- Remote service URL of the target
-
getEnv
Env with user and password or empty map- Returns:
- environment map
-
toJSON
public org.jolokia.json.JSONObject toJSON()As JSON representation- Returns:
- JSON object representing this proxy configuration
-
toString
-