@Test public void timeoutPutEntity() throws MalformedURLException, ODataClientException { thrown.expect(ODataClientTimeout.class); caller.doPutEntity(emptyMap(), buildUrlToCall(HTTP_CLIENT_TIMEOUT), "", JSON); }
@Override public String doPutEntity(Map<String, String> requestProperties, URL url, String body, MediaType type) throws ODataClientException { return sendRequest(getRequestHeaders(requestProperties, body.length(), type, type), url, body, ODataRequest.Method.PUT.name()); }
TracingEndpointCaller implements EndpointCaller { @Override public String doPutEntity(Map<String, String> requestProperties, URL url, String body, MediaType type) throws ODataClientException { return sendRequest(getRequestHeaders(requestProperties, body.length(), type, type), url, body, ODataRequest.Method.PUT.name()); } }
TracingEndpointCaller implements EndpointCaller { @Override public String doPutEntity(Map<String, String> requestProperties, URL url, String body, MediaType type) throws ODataClientException { return sendRequest(getRequestHeaders(requestProperties, body.length(), type, type), url, body, ODataRequest.Method.PUT.name()); } TracingEndpointCaller(Properties properties); }
TracingEndpointCaller implements EndpointCaller { @Override public String doPutEntity(Map<String, String> requestProperties, URL url, String body, MediaType type) throws ODataClientException { return sendRequest(getRequestHeaders(requestProperties, body.length(), type, type), url, body, ODataRequest.Method.PUT.name()); } TracingEndpointCaller(Properties properties); @Override String callEndpoint(Map<String, String> requestProperties, URL url); @Override InputStream getInputStream(Map<String, String> requestProperties, URL url); @Override String doPostEntity(Map<String, String> requestProperties, URL url, String body,
                               MediaType contentType, MediaType acceptType); @Override String doPutEntity(Map<String, String> requestProperties, URL url, String body, MediaType type); @Override void doDeleteEntity(Map<String, String> requestProperties, URL url); }
TracingEndpointCaller implements EndpointCaller { @Override public String doPutEntity(Map<String, String> requestProperties, URL url, String body, MediaType type) throws ODataClientException { return sendRequest(getRequestHeaders(requestProperties, body.length(), type, type), url, body, ODataRequest.Method.PUT.name()); } TracingEndpointCaller(Properties properties); @Override String callEndpoint(Map<String, String> requestProperties, URL url); @Override InputStream getInputStream(Map<String, String> requestProperties, URL url); @Override String doPostEntity(Map<String, String> requestProperties, URL url, String body,
                               MediaType contentType, MediaType acceptType); @Override String doPutEntity(Map<String, String> requestProperties, URL url, String body, MediaType type); @Override void doDeleteEntity(Map<String, String> requestProperties, URL url);  }