test_class.declarator: MEMORY_RESPONSE =
              "{\"timestamp\":1316801201,\"status\":200," +
              "\"request\":{\"mbean\":\"java.lang:type=Memory\",\"attribute\":\"HeapMemoryUsage\",\"type\":\"read\"}," +
              "\"value\":{\"max\":530186240,\"committed\":85000192,\"init\":0,\"used\":17962568}}"
test_class.modifier: private static
test_class.original_string: private static String MEMORY_RESPONSE =
              "{\"timestamp\":1316801201,\"status\":200," +
              "\"request\":{\"mbean\":\"java.lang:type=Memory\",\"attribute\":\"HeapMemoryUsage\",\"type\":\"read\"}," +
              "\"value\":{\"max\":530186240,\"committed\":85000192,\"init\":0,\"used\":17962568}}";
test_class.type: String
test_class.var_name: MEMORY_RESPONSE
test_class.declarator: EMPTY_RESPONSE = "{}"
test_class.modifier: private static
test_class.original_string: private static String EMPTY_RESPONSE = "{}";
test_class.type: String
test_class.var_name: EMPTY_RESPONSE
test_class.declarator: ARRAY_RESPONSE = "[ " + MEMORY_RESPONSE + "]"
test_class.modifier: private static
test_class.original_string: private static String ARRAY_RESPONSE = "[ " + MEMORY_RESPONSE + "]";
test_class.type: String
test_class.var_name: ARRAY_RESPONSE
test_class.declarator: TEST_URL = "http://localhost:8080/jolokia"
test_class.modifier: public static final
test_class.original_string: public static final String TEST_URL = "http://localhost:8080/jolokia";
test_class.type: String
test_class.var_name: TEST_URL
test_class.declarator: ERROR_VALUE_RESPONSE = "{" +
  			"\"error_type\":\"errorType\"" +
  			"\"status\":500" +
  			"\"error_value\":{\"test\":\"ok\"}" +
  			"}"
test_class.modifier: private static final
test_class.original_string: private static final String ERROR_VALUE_RESPONSE = "{" +
  			"\"error_type\":\"errorType\"" +
  			"\"status\":500" +
  			"\"error_value\":{\"test\":\"ok\"}" +
  			"}";
test_class.type: String
test_class.var_name: ERROR_VALUE_RESPONSE
test_class.declarator: TEST_REQUEST
test_class.modifier: public
test_class.original_string: public J4pReadRequest TEST_REQUEST,TEST_REQUEST_2;
test_class.type: J4pReadRequest
test_class.var_name: TEST_REQUEST
test_class.file: client/java/src/test/java/org/jolokia/client/J4pClientTest.java
test_class.identifier: J4pClientTest
test_case.body: @Test(expectedExceptions = J4pRemoteException.class)
      public void remoteExceptionErrorValue() throws IOException, J4pException {
          HttpClient client = prepareMocks("utf-8", ERROR_VALUE_RESPONSE);
  
          J4pClient j4p = new J4pClient(TEST_URL,client);
          Map<J4pQueryParameter, String> options = Maps.newHashMap();
          options.put(J4pQueryParameter.SERIALIZE_EXCEPTION, "true");
          options.put(J4pQueryParameter.INCLUDE_STACKTRACE, "false");
  
  		try {
  			j4p.execute(TEST_REQUEST, options);
  		} catch (J4pRemoteException e) {
  			assertEquals(e.getErrorValue().toJSONString(), "{\"test\":\"ok\"}");
  			throw e;
  		}
  		
  		fail("No exception was thrown");
      }
test_case.class_method_signature: J4pClientTest.remoteExceptionErrorValue()
test_case.full_signature: @Test(expectedExceptions = J4pRemoteException.class) public void remoteExceptionErrorValue()
test_case.identifier: remoteExceptionErrorValue
test_case.invocations: prepareMocks newHashMap put put execute assertEquals toJSONString getErrorValue fail
test_case.modifiers: @Test(expectedExceptions = J4pRemoteException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void remoteExceptionErrorValue()
focal_class.declarator: httpClient
focal_class.modifier: private
focal_class.original_string: private HttpClient httpClient;
focal_class.type: HttpClient
focal_class.var_name: httpClient
focal_class.declarator: requestHandler
focal_class.modifier: private
focal_class.original_string: private J4pRequestHandler requestHandler;
focal_class.type: J4pRequestHandler
focal_class.var_name: requestHandler
focal_class.declarator: responseExtractor
focal_class.modifier: private
focal_class.original_string: private J4pResponseExtractor responseExtractor;
focal_class.type: J4pResponseExtractor
focal_class.var_name: responseExtractor
focal_class.file: client/java/src/main/java/org/jolokia/client/J4pClient.java
focal_class.identifier: J4pClient
focal_class.class_method_signature: J4pClient.J4pClient(String pJ4pServerUrl)
focal_class.full_signature: public  J4pClient(String pJ4pServerUrl)
focal_class.identifier: J4pClient
focal_class.modifiers: public
focal_class.parameters: (String pJ4pServerUrl)
focal_class.signature:  J4pClient(String pJ4pServerUrl)
focal_class.class_method_signature: J4pClient.J4pClient(String pJ4pServerUrl, HttpClient pHttpClient)
focal_class.full_signature: public  J4pClient(String pJ4pServerUrl, HttpClient pHttpClient)
focal_class.identifier: J4pClient
focal_class.modifiers: public
focal_class.parameters: (String pJ4pServerUrl, HttpClient pHttpClient)
focal_class.signature:  J4pClient(String pJ4pServerUrl, HttpClient pHttpClient)
focal_class.class_method_signature: J4pClient.J4pClient(String pJ4pServerUrl, HttpClient pHttpClient,J4pTargetConfig pTargetConfig)
focal_class.full_signature: public  J4pClient(String pJ4pServerUrl, HttpClient pHttpClient,J4pTargetConfig pTargetConfig)
focal_class.identifier: J4pClient
focal_class.modifiers: public
focal_class.parameters: (String pJ4pServerUrl, HttpClient pHttpClient,J4pTargetConfig pTargetConfig)
focal_class.signature:  J4pClient(String pJ4pServerUrl, HttpClient pHttpClient,J4pTargetConfig pTargetConfig)
focal_class.class_method_signature: J4pClient.J4pClient(String pJ4pServerUrl, HttpClient pHttpClient,J4pTargetConfig pTargetConfig,J4pResponseExtractor pExtractor)
focal_class.full_signature: public  J4pClient(String pJ4pServerUrl, HttpClient pHttpClient,J4pTargetConfig pTargetConfig,J4pResponseExtractor pExtractor)
focal_class.identifier: J4pClient
focal_class.modifiers: public
focal_class.parameters: (String pJ4pServerUrl, HttpClient pHttpClient,J4pTargetConfig pTargetConfig,J4pResponseExtractor pExtractor)
focal_class.signature:  J4pClient(String pJ4pServerUrl, HttpClient pHttpClient,J4pTargetConfig pTargetConfig,J4pResponseExtractor pExtractor)
focal_class.class_method_signature: J4pClient.execute(REQ pRequest)
focal_class.full_signature: public RESP execute(REQ pRequest)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (REQ pRequest)
focal_class.return: RESP
focal_class.signature: RESP execute(REQ pRequest)
focal_class.class_method_signature: J4pClient.execute(REQ pRequest,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.full_signature: public RESP execute(REQ pRequest,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (REQ pRequest,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.return: RESP
focal_class.signature: RESP execute(REQ pRequest,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.class_method_signature: J4pClient.execute(REQ pRequest,String pMethod)
focal_class.full_signature: public RESP execute(REQ pRequest,String pMethod)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (REQ pRequest,String pMethod)
focal_class.return: RESP
focal_class.signature: RESP execute(REQ pRequest,String pMethod)
focal_class.class_method_signature: J4pClient.execute(REQ pRequest,String pMethod,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.full_signature: public RESP execute(REQ pRequest,String pMethod,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (REQ pRequest,String pMethod,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.return: RESP
focal_class.signature: RESP execute(REQ pRequest,String pMethod,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.class_method_signature: J4pClient.execute(REQ pRequest,String pMethod,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions,
                                                                       J4pResponseExtractor pExtractor)
focal_class.full_signature: public RESP execute(REQ pRequest,String pMethod,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions,
                                                                       J4pResponseExtractor pExtractor)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (REQ pRequest,String pMethod,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions,
                                                                       J4pResponseExtractor pExtractor)
focal_class.return: RESP
focal_class.signature: RESP execute(REQ pRequest,String pMethod,
                                                                       Map<J4pQueryParameter,String> pProcessingOptions,
                                                                       J4pResponseExtractor pExtractor)
focal_class.class_method_signature: J4pClient.execute(List<REQ> pRequests)
focal_class.full_signature: public List<RESP> execute(List<REQ> pRequests)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (List<REQ> pRequests)
focal_class.return: List<RESP>
focal_class.signature: List<RESP> execute(List<REQ> pRequests)
focal_class.class_method_signature: J4pClient.execute(List<REQ> pRequests,Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.full_signature: public List<RESP> execute(List<REQ> pRequests,Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (List<REQ> pRequests,Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.return: List<RESP>
focal_class.signature: List<RESP> execute(List<REQ> pRequests,Map<J4pQueryParameter,String> pProcessingOptions)
focal_class.class_method_signature: J4pClient.execute(List<REQ> pRequests,
                                                                                        Map<J4pQueryParameter,String> pProcessingOptions,
                                                                                        J4pResponseExtractor pResponseExtractor)
focal_class.full_signature: public List<RESP> execute(List<REQ> pRequests,
                                                                                        Map<J4pQueryParameter,String> pProcessingOptions,
                                                                                        J4pResponseExtractor pResponseExtractor)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (List<REQ> pRequests,
                                                                                        Map<J4pQueryParameter,String> pProcessingOptions,
                                                                                        J4pResponseExtractor pResponseExtractor)
focal_class.return: List<RESP>
focal_class.signature: List<RESP> execute(List<REQ> pRequests,
                                                                                        Map<J4pQueryParameter,String> pProcessingOptions,
                                                                                        J4pResponseExtractor pResponseExtractor)
focal_class.class_method_signature: J4pClient.extractJsonResponse(REQ pRequest, HttpResponse pResponse)
focal_class.full_signature: @SuppressWarnings("PMD.PreserveStackTrace") private JSONAware extractJsonResponse(REQ pRequest, HttpResponse pResponse)
focal_class.identifier: extractJsonResponse
focal_class.modifiers: @SuppressWarnings("PMD.PreserveStackTrace") private
focal_class.parameters: (REQ pRequest, HttpResponse pResponse)
focal_class.return: JSONAware
focal_class.signature: JSONAware extractJsonResponse(REQ pRequest, HttpResponse pResponse)
focal_class.class_method_signature: J4pClient.extractResponses(JSONAware pJsonResponse,
                                                                                        List<T> pRequests,
                                                                                        J4pResponseExtractor pResponseExtractor)
focal_class.full_signature: private List<R> extractResponses(JSONAware pJsonResponse,
                                                                                        List<T> pRequests,
                                                                                        J4pResponseExtractor pResponseExtractor)
focal_class.identifier: extractResponses
focal_class.modifiers: private
focal_class.parameters: (JSONAware pJsonResponse,
                                                                                        List<T> pRequests,
                                                                                        J4pResponseExtractor pResponseExtractor)
focal_class.return: List<R>
focal_class.signature: List<R> extractResponses(JSONAware pJsonResponse,
                                                                                        List<T> pRequests,
                                                                                        J4pResponseExtractor pResponseExtractor)
focal_class.class_method_signature: J4pClient.mapException(Exception pException)
focal_class.full_signature: private J4pException mapException(Exception pException)
focal_class.identifier: mapException
focal_class.modifiers: private
focal_class.parameters: (Exception pException)
focal_class.return: J4pException
focal_class.signature: J4pException mapException(Exception pException)
focal_class.class_method_signature: J4pClient.verifyBulkJsonResponse(JSONAware pJsonResponse)
focal_class.full_signature: private void verifyBulkJsonResponse(JSONAware pJsonResponse)
focal_class.identifier: verifyBulkJsonResponse
focal_class.modifiers: private
focal_class.parameters: (JSONAware pJsonResponse)
focal_class.return: void
focal_class.signature: void verifyBulkJsonResponse(JSONAware pJsonResponse)
focal_class.class_method_signature: J4pClient.execute(T ... pRequests)
focal_class.full_signature: public List<R> execute(T ... pRequests)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (T ... pRequests)
focal_class.return: List<R>
focal_class.signature: List<R> execute(T ... pRequests)
focal_class.class_method_signature: J4pClient.getHttpClient()
focal_class.full_signature: public HttpClient getHttpClient()
focal_class.identifier: getHttpClient
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HttpClient
focal_class.signature: HttpClient getHttpClient()
focal_class.class_method_signature: J4pClient.getUri()
focal_class.full_signature: public URI getUri()
focal_class.identifier: getUri
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: URI
focal_class.signature: URI getUri()
focal_class.superclass: extends J4pClientBuilderFactory
focal_method.body: public <RESP extends J4pResponse<REQ>, REQ extends J4pRequest> RESP execute(REQ pRequest)
              throws J4pException {
          // type spec is required to keep OpenJDK 1.6 happy (other JVM dont have a problem
          // with infering the type is missing here)
          return this.<RESP, REQ>execute(pRequest,null,null);
      }
focal_method.class_method_signature: J4pClient.execute(REQ pRequest)
focal_method.full_signature: public RESP execute(REQ pRequest)
focal_method.identifier: execute
focal_method.invocations: execute
focal_method.modifiers: public
focal_method.parameters: (REQ pRequest)
focal_method.return: RESP
focal_method.signature: RESP execute(REQ pRequest)