Esempio n. 1
0
 public static <DTO> List<DTO> requestArray(
     Class<DTO> dtoInterface,
     String url,
     String method,
     Object body,
     Pair<String, ?>... parameters)
     throws IOException, ServerException, UnauthorizedException, ForbiddenException,
         NotFoundException, ConflictException {
   return httpJsonHelperImpl.requestArray(dtoInterface, url, method, body, parameters);
 }
Esempio n. 2
0
 public static void request(String url, String method, Object body, Pair<String, ?>... parameters)
     throws IOException, ServerException, UnauthorizedException, ForbiddenException,
         NotFoundException, ConflictException {
   httpJsonHelperImpl.request(url, method, body, parameters);
 }
Esempio n. 3
0
 public static String requestString(
     int timeout, String url, String method, Object body, Pair<String, ?>... parameters)
     throws IOException, ServerException, ForbiddenException, NotFoundException,
         UnauthorizedException, ConflictException {
   return httpJsonHelperImpl.requestString(timeout, url, method, body, parameters);
 }