protected static <T extends MPBase> T processMethod(Class clazz, String methodName, String param1, Boolean useCache) throws MPException {
        HashMap<String, String> mapParams = new HashMap<String, String>();
        mapParams.put("param1", param1);

        return processMethod(clazz, null, methodName, mapParams, useCache);
    }
protected static < T extends MPBase > T processMethod ( Class clazz , String methodName , String param1 , Boolean useCache ) throws MPException { HashMap < String , String > mapParams = new HashMap < String , String > ( ) ; mapParams . put ( "param1" , param1 ) ; return processMethod ( clazz , null , methodName , mapParams , useCache ) ; }
Process the method to call the api, usually used for load methods

@param clazz             a MPBase extended class
@param methodName        a String with the decorated method to be processed
@param param1            a String with the arg passed in the call of the method
@param useCache          a Boolean flag that indicates if the cache must be used
@return                  a resourse obj fill with the api response
@throws MPException