@Test public void test_execute_put200() { UpdateResponse response; int code; setContent200(); try { URL url = URLUtil.makeURLWithPath(this.url, "ip"); RdapResponse res = template.execute(HttpMethodType.PUT, url, param); code = res.getResponseCode(); response = res.getResponseBody(UpdateResponse.class); } catch (RdapClientException e) { response = null; code = 0; } assertEquals(code, 200); assertEquals(response.getHandle(), "ip-handle1"); assertEquals(response.getErrorCode(), 0); assertEquals(response.getSubErrorCode(), 0); assertEquals(response.getDescription().size(), 0); }
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);  }