@Test public void rawPostForTextCreatesExecutorWithCorrectRequestAndCredentials() throws Exception { String url = "my_url"; builder.rawPostForText(url, new byte[0]); verifyRequestAndCredentials(url); }
public String rawPostForText(String url, byte[] data) throws Exception { return downloadToText(createExecutor(makeRawPostRequest(url, data))); }
RequestBuilder { public String rawPostForText(String url, byte[] data) throws Exception { return downloadToText(createExecutor(makeRawPostRequest(url, data))); } }
RequestBuilder { public String rawPostForText(String url, byte[] data) throws Exception { return downloadToText(createExecutor(makeRawPostRequest(url, data))); } RequestBuilder(RequestExecutorFactory factory); }
RequestBuilder { public String rawPostForText(String url, byte[] data) throws Exception { return downloadToText(createExecutor(makeRawPostRequest(url, data))); } RequestBuilder(RequestExecutorFactory factory); byte[] getForBinary(String url); String getForText(String url); byte[] postForBinary(String url, Map<String, String> params); String postForText(String url, Map<String, String> params); String rawPostForText(String url, byte[] data); String rawPostForText(String url, byte[] data, Map<String, String> extraHeaders); String uploadFileForTextDownload(String url, Map<String, String> params, String fileField, byte[] data); }
RequestBuilder { public String rawPostForText(String url, byte[] data) throws Exception { return downloadToText(createExecutor(makeRawPostRequest(url, data))); } RequestBuilder(RequestExecutorFactory factory); byte[] getForBinary(String url); String getForText(String url); byte[] postForBinary(String url, Map<String, String> params); String postForText(String url, Map<String, String> params); String rawPostForText(String url, byte[] data); String rawPostForText(String url, byte[] data, Map<String, String> extraHeaders); String uploadFileForTextDownload(String url, Map<String, String> params, String fileField, byte[] data);  }