Top "Apache-commons-httpclient" questions

The HttpClient v3.

Apache http client or URLConnection

I need to download a web page on an android app and I am having a hard time deciding whether …

java android urlconnection apache-commons-httpclient
I need an alternative option to HttpClient in Android to send data to PHP as it is no longer supported

Currently I'm using HttpClient, HttpPost to send data to my PHP server from an Android app but all those methods …

java android api http-post apache-commons-httpclient
DefaultHttpClient to AndroidHttpClient

I have a problem with my code and I was hoping for some help. I was firstly using this code : …

android apache-commons-httpclient
How to force Commons HTTPClient 3.1 to use TLS 1.2 only for HTTPS?

I wish to force Apache Commons HTTP-Client (version 3.1) to use TLS 1.2 as the only protocol for HTTPS. This is due …

java ssl https apache-commons-httpclient
PostMethod setRequestBody(String) deprecated - why?

I am using Apache Commons HttpClient PostMethod 3.1. In the PostMethod class there are also three methods for setting POST method's …

java request apache-commons-httpclient
Why Warning:Unable to find optional library: org.apache.http.legacy occurs?

My gradle file: apply plugin: 'com.android.application' android { useLibrary 'org.apache.http.legacy' compileSdkVersion 23 buildToolsVersion "23.0.0" defaultConfig { applicationId "com.skripsi.…

android apache-commons-httpclient
Fixing HttpClient warning "Invalid expires attribute" using fluent API

I'm using the fluent API of HttpClient to make a GET request: String jsonResult = Request.Get(requestUrl) .connectTimeout(2000) .socketTimeout(2000) .execute().…

cookies apache-commons-httpclient
HttpClient follow redirect

I am currently working on little project. The aim of the project is to log in to a website and …

java php session web apache-commons-httpclient
What's the recommended way to get the HTTP response as a String when using Apache's HTTP Client?

I've just begun using Apache's HTTP Client library and noticed that there wasn't a built-in method of getting the HTTP …

java apache-commons-httpclient
How to set proxy host on HttpClient request in Java

I want to set proxy before sending HttpClient request on a URL. As I am able to connect it curl …

java http apache-commons-httpclient