@Test public void test_execute_post400() { UpdateResponse response; int code; setContent400(); try { URL url = URLUtil.makeURLWithPath(this.url, "domain"); RdapResponse res = template.execute(HttpMethodType.DELETE, url, null); code = res.getResponseCode(); response = res.getResponseBody(UpdateResponse.class); } catch (RdapClientException e) { response = null; code = 0; } assertEquals(code, 400); assertEquals(response.getHandle(), "domain-1"); assertEquals(response.getErrorCode(), 400); assertEquals(response.getSubErrorCode(), 4002); assertEquals(response.getDescription().get(0), "Property can't be empty: domainName"); }
public RdapResponse execute(HttpMethodType httpMethod, URL url) throws RdapClientException { return doExecute(this.prepareExecute(url, httpMethod), null); }
RdapRestTemplate { public RdapResponse execute(HttpMethodType httpMethod, URL url) throws RdapClientException { return doExecute(this.prepareExecute(url, httpMethod), null); } }
RdapRestTemplate { public RdapResponse execute(HttpMethodType httpMethod, URL url) throws RdapClientException { return doExecute(this.prepareExecute(url, httpMethod), null); }  }
RdapRestTemplate { public RdapResponse execute(HttpMethodType httpMethod, URL url) throws RdapClientException { return doExecute(this.prepareExecute(url, httpMethod), null); }  RdapResponse execute(HttpMethodType httpMethod, URL url); RdapResponse execute(HttpMethodType httpMethod, URL url, String body); String getMediaType(); void setMediaType(String mediaType); int getConnectTimeout(); void setConnectTimeout(int connectTimeout); int getReadTimeout(); void setReadTimeout(int readTimeout); }
RdapRestTemplate { public RdapResponse execute(HttpMethodType httpMethod, URL url) throws RdapClientException { return doExecute(this.prepareExecute(url, httpMethod), null); }  RdapResponse execute(HttpMethodType httpMethod, URL url); RdapResponse execute(HttpMethodType httpMethod, URL url, String body); String getMediaType(); void setMediaType(String mediaType); int getConnectTimeout(); void setConnectTimeout(int connectTimeout); int getReadTimeout(); void setReadTimeout(int readTimeout);  }