Searched refs:HttpPost (Results 1 – 13 of 13) sorted by relevance
50 import org.apache.http.client.methods.HttpPost;116 HttpPost httppost = new HttpPost("http://localhost:8192/"); in testPostRequestWithFormEncodedParameters()132 HttpPost httppost = new HttpPost("http://localhost:8192/"); in testPostRequestWithMultipartEncodedParameters()148 HttpPost httppost = new HttpPost("http://localhost:8192/"); in testPostWithNoParameters()170 HttpPost httppost = new HttpPost("http://localhost:8192/chin"); in testPostRequestWithMultipartExtremEncodedParameters()
66 public class HttpPost extends HttpEntityEnclosingRequestBase { class70 public HttpPost() { in HttpPost() method in HttpPost74 public HttpPost(final URI uri) { in HttpPost() method in HttpPost82 public HttpPost(final String uri) { in HttpPost() method in HttpPost
56 import org.apache.http.client.methods.HttpPost;180 HttpPost post = new HttpPost("http://localhost:8192/uploadFile1"); in testPostWithMultipartFormUpload1()191 HttpPost post = new HttpPost("http://localhost:8192/uploadFile2"); in testPostWithMultipartFormUpload2()202 HttpPost post = new HttpPost("http://localhost:8192/uploadFile3"); in testPostWithMultipartFormUpload3()209 …private void executeUpload(CloseableHttpClient httpclient, String textFileName, HttpPost post) thr… in executeUpload()
18 import org.apache.http.client.methods.HttpPost;95 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postByteEntity()108 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postInputStreamEntity()119 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postEmptyEntity()139 HttpPost httpPost = new HttpPost(); in postOverrideContentType()
36 import org.apache.http.client.methods.HttpPost;108 HttpPost postRequest = new HttpPost(request.getUrl()); in createHttpRequest()125 HttpPost postRequest = new HttpPost(request.getUrl()); in createHttpRequest()
8 import org.apache.http.client.methods.HttpPost;16 HttpPost post = new HttpPost("example.com"); in parseParams_shouldParsePostEntitiesIntoParams()
6 import org.apache.http.client.methods.HttpPost;75 HttpPost noMatch = new HttpPost("example.com"); in matches_shouldMatchPostBody()
22 import org.apache.http.client.methods.HttpPost;120 FakeHttp.addHttpResponseRule(HttpPost.METHOD_NAME, "http://some.uri", in shouldReturnRequestsByRule_MatchingMethod()140 requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()160 requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
29 import org.apache.http.client.methods.HttpPost;55 assertTrue(httpRequest instanceof HttpPost); in createDeprecatedPostRequest()73 assertTrue(httpRequest instanceof HttpPost); in createPostRequest()82 assertTrue(httpRequest instanceof HttpPost); in createPostRequestWithBody()
31 import org.apache.http.client.methods.HttpPost;71 isPost ? new HttpPost(url) : new HttpPut(url); in execute()
48 import org.apache.http.client.methods.HttpPost;118 HttpPost httppost = new HttpPost("http://localhost:9090/user/blabla"); in doSomeBasicMethodTest()
92 HPLorg/apache/http/client/methods/HttpPost;-><init>(Ljava/lang/String;)V93 HPLorg/apache/http/client/methods/HttpPost;-><init>(Ljava/net/URI;)V94 HPLorg/apache/http/client/methods/HttpPost;->getMethod()Ljava/lang/String;
1432 …@Deprecated public class HttpPost extends org.apache.http.client.methods.HttpEntityEnclosingReques…1433 ctor @Deprecated public HttpPost();1434 ctor @Deprecated public HttpPost(java.net.URI);1435 ctor @Deprecated public HttpPost(String);