test_class.declarator: procParams
test_class.modifier: private
test_class.original_string: private ProcessingParameters procParams;
test_class.type: ProcessingParameters
test_class.var_name: procParams
test_class.file: agent/core/src/test/java/org/jolokia/request/JmxRequestFactoryTest.java
test_class.identifier: JmxRequestFactoryTest
test_case.body: @Test
      public void multiPostRequests() {
          Map<String,Object> req1Map = createMap(
                  "type","read",
                  "mbean","java.lang:type=Memory",
                  "attribute","HeapMemoryUsage");
          Map<String,Object> req2Map = createMap(
                  "type","list");
          List<JmxRequest> req = JmxRequestFactory.createPostRequests(Arrays.asList(req1Map, req2Map),procParams);
          assertEquals(req.get(0).getType(), RequestType.READ);
          assertEquals(req.get(1).getType(), RequestType.LIST);
      }
test_case.class_method_signature: JmxRequestFactoryTest.multiPostRequests()
test_case.full_signature: @Test public void multiPostRequests()
test_case.identifier: multiPostRequests
test_case.invocations: createMap createMap createPostRequests asList assertEquals getType get assertEquals getType get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void multiPostRequests()
focal_class.declarator: CREATOR_MAP
focal_class.modifier: private static final
focal_class.original_string: private static final Map<RequestType,RequestCreator> CREATOR_MAP;
focal_class.type: Map<RequestType,RequestCreator>
focal_class.var_name: CREATOR_MAP
focal_class.file: agent/core/src/main/java/org/jolokia/request/JmxRequestFactory.java
focal_class.identifier: JmxRequestFactory
focal_class.class_method_signature: JmxRequestFactory.JmxRequestFactory()
focal_class.full_signature: private  JmxRequestFactory()
focal_class.identifier: JmxRequestFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  JmxRequestFactory()
focal_class.class_method_signature: JmxRequestFactory.createGetRequest(String pPathInfo, ProcessingParameters pProcessingParameters)
focal_class.full_signature: public static R createGetRequest(String pPathInfo, ProcessingParameters pProcessingParameters)
focal_class.identifier: createGetRequest
focal_class.modifiers: public static
focal_class.parameters: (String pPathInfo, ProcessingParameters pProcessingParameters)
focal_class.return: R
focal_class.signature: R createGetRequest(String pPathInfo, ProcessingParameters pProcessingParameters)
focal_class.class_method_signature: JmxRequestFactory.createPostRequest(Map<String, ?> pRequestMap, ProcessingParameters pProcessingParams)
focal_class.full_signature: public static R createPostRequest(Map<String, ?> pRequestMap, ProcessingParameters pProcessingParams)
focal_class.identifier: createPostRequest
focal_class.modifiers: public static
focal_class.parameters: (Map<String, ?> pRequestMap, ProcessingParameters pProcessingParams)
focal_class.return: R
focal_class.signature: R createPostRequest(Map<String, ?> pRequestMap, ProcessingParameters pProcessingParams)
focal_class.class_method_signature: JmxRequestFactory.createPostRequests(List pJsonRequests, ProcessingParameters pProcessingParams)
focal_class.full_signature: public static List<JmxRequest> createPostRequests(List pJsonRequests, ProcessingParameters pProcessingParams)
focal_class.identifier: createPostRequests
focal_class.modifiers: public static
focal_class.parameters: (List pJsonRequests, ProcessingParameters pProcessingParams)
focal_class.return: List<JmxRequest>
focal_class.signature: List<JmxRequest> createPostRequests(List pJsonRequests, ProcessingParameters pProcessingParams)
focal_class.class_method_signature: JmxRequestFactory.extractPathInfo(String pPathInfo, ProcessingParameters pProcessingParams)
focal_class.full_signature: private static String extractPathInfo(String pPathInfo, ProcessingParameters pProcessingParams)
focal_class.identifier: extractPathInfo
focal_class.modifiers: private static
focal_class.parameters: (String pPathInfo, ProcessingParameters pProcessingParams)
focal_class.return: String
focal_class.signature: String extractPathInfo(String pPathInfo, ProcessingParameters pProcessingParams)
focal_class.class_method_signature: JmxRequestFactory.normalizePathInfo(String pPathInfo)
focal_class.full_signature: private static String normalizePathInfo(String pPathInfo)
focal_class.identifier: normalizePathInfo
focal_class.modifiers: private static
focal_class.parameters: (String pPathInfo)
focal_class.return: String
focal_class.signature: String normalizePathInfo(String pPathInfo)
focal_class.class_method_signature: JmxRequestFactory.getCreator(RequestType pType)
focal_class.full_signature: private static RequestCreator getCreator(RequestType pType)
focal_class.identifier: getCreator
focal_class.modifiers: private static
focal_class.parameters: (RequestType pType)
focal_class.return: RequestCreator
focal_class.signature: RequestCreator getCreator(RequestType pType)
focal_method.body: public static List<JmxRequest> createPostRequests(List pJsonRequests, ProcessingParameters pProcessingParams) {
          List<JmxRequest> ret = new ArrayList<JmxRequest>();
          for (Object o : pJsonRequests) {
              if (!(o instanceof Map)) {
                  throw new IllegalArgumentException("Not a request within the list of requests " + pJsonRequests +
                          ". Expected map, but found: " + o);
              }
              ret.add(createPostRequest((Map<String,?>) o,pProcessingParams));
          }
          return ret;
      }
focal_method.class_method_signature: JmxRequestFactory.createPostRequests(List pJsonRequests, ProcessingParameters pProcessingParams)
focal_method.full_signature: public static List<JmxRequest> createPostRequests(List pJsonRequests, ProcessingParameters pProcessingParams)
focal_method.identifier: createPostRequests
focal_method.invocations: add createPostRequest
focal_method.modifiers: public static
focal_method.parameters: (List pJsonRequests, ProcessingParameters pProcessingParams)
focal_method.return: List<JmxRequest>
focal_method.signature: List<JmxRequest> createPostRequests(List pJsonRequests, ProcessingParameters pProcessingParams)