code: protected <R> R executeRequest(Request request, JavaType javaType)
      {
          long start = System.currentTimeMillis();
          boolean error = true;
          try
          {
              Response response = executeRequest(request);
              R r = readResponse(response, javaType);
              error = false;
              return r;
          }
          finally
          {
              if(clientEventListener != null)
              {
                  ClientEvent event = new ClientEvent(baseUrl,request.getEntityName(),request.getRequestMethod(),
                          System.currentTimeMillis() - start,error);
                  clientEventListener.handleEvent(event);
              }
          }
      }
docs: Execute the request
  @param request The request
  @param javaType The return type
  @return The response