apache-commons-httpclient Questions

1

I've added HttpClient 4.3.3 for android to my build.gradle file as described by Apache, but my app hasn't changed in size. Because of this I'm pretty sure that, while my IDE shows httpclient-androi...
Anchusin asked 28/7, 2014 at 19:55

3

Solved

I am using the Apache Commons HttpClient along with Restlet to call a restful web service. Unfortunately, my server (based on Ruby on Rails) does not like the Transfer-Encoding: chunked that HttpCl...
Gretagretal asked 11/10, 2011 at 4:59

2

Solved

I have an application connecting to sites that require basic authentication. The sites are provided at run time and not known at compile time. I am using HttpClient 4.2. I am not sure if the code...

3

I am trying to use the EWS Java API v1.1.5 (http://archive.msdn.microsoft.com/ewsjavaapi) in an Android application, and have run into a number of issues. I downloaded the source, and followed the ...

3

I am using HttpClient (version 3.1) on several different (but apparently identical) computers to read a UTF-8 encoded JSON data from a URL. On all the machines, save one, it works fine. I have som...
Criticaster asked 15/5, 2014 at 6:36

1

I am creating a module that uses http://hc.apache.org/httpcomponents-client-4.2.x/index.html to make HTTP requests to external services. This module is going to be used by application. The applicat...
Tatar asked 24/10, 2013 at 4:49

1

Solved

First of all, I'm not trying to start a flame-war here. I know Jersey sufficiently well, but have hardly used httpclient. What are the key differences between jersey-client and Apache's httpclient...

1

Solved

How do you create SSL socket factory in new Apache Http Client 4.3 ? Here is how I was creating it before 4.3 val ts = new TrustStrategy() { def isTrusted(chain: Array[X509Certificate], authType...
Freesia asked 28/9, 2013 at 0:20

4

Solved

I am using Jakarta Commons HttpClient 3.1 writing a load test tool that needs to target different servers and pretend like it targeted the correct virtual host in the HTTP server. For that I need t...
Roa asked 18/5, 2011 at 13:57

1

Solved

I am currently working on little project. The aim of the project is to log in to a website and get/handle the information on the site. Moreover, I would like to open some links and search thr...
Disservice asked 19/8, 2013 at 17:53

2

Solved

There are different methods to create cookies in HttpClient, I am confused which one is the best. I need to create,retrieve and modify cookies. For example , I can use the following code to see a...
Turboprop asked 22/7, 2013 at 3:50

1

Solved

For some problem that we couldn't solve, I want to disable keep alive on Apache HttpClient 3.1. However, I couldn't find any resource on the Internet for that. Do you know how to do it?
Lamellirostral asked 29/5, 2013 at 7:15

2

Solved

I am testing the uploading of files to a dataset on CKAN / datahub.io through a Java client of the API. public String uploadFile() throws CKANException { String returned_json = this._connection...
Kingsley asked 26/1, 2013 at 9:21

3

Solved

I am trying to upload/delete a file to webdav server using HttpClient. However, none is working whenever I have a file name consist of space . I got a error message saying "INVALID URI--- Escaped a...
Confocal asked 30/11, 2012 at 20:28

2

I want to send an XML file as a request to a SOAP server. Here is the code I have: (modified from Sending HTTP Post request with SOAP action using org.apache.http ) import org.apache.http.client.*...
Trilbee asked 10/10, 2012 at 20:35

2

Solved

I am communicating with a web service that expects a POST parameter and also expect Request body. I have confirmed that such a POST request can be done using a REST Console I have, but I am unable ...
Unstable asked 1/10, 2012 at 1:50

1

Solved

HttpClient is a Java library to browse websites. I want to use it with Kerberos. The Kerberos part of HttpClient's documentation mostly says: The best way to start is to grab the KerberosHttpCli...
Sardonyx asked 18/6, 2012 at 10:10

2

Solved

I found some examples here on how to download a file but most of them seem to be using HttpURLConnection. is it possible to download files with HttpClient?
Riverhead asked 26/5, 2012 at 23:19

2

Solved

While I've been familiar with HTTPS and the concept of SSL, I have recently begun some development and found I am a little confused. The requirement was that I write a small Java application that ...
Banshee asked 5/5, 2010 at 15:45

2

Solved

I have a problem with my code and I was hoping for some help. I was firstly using this code : new DefaultHttpClient().execute(new HttpGet(linkk)).getEntity().writeTo( new FileOutputStream(f)); ...
Felipa asked 2/1, 2012 at 23:41

3

Solved

I need to download a web page on an Android app and I am having a hard time deciding whether to use the Android Apache HTTP client or Java's URLConnection. Any thoughts?
Stoplight asked 25/1, 2011 at 21:39

1

We have some code written using commons-httpclient-3.1 that needs to be converted to 4.1. I'm only somewhat familiar with this and am reading the 4.1 httpclient tutorial now. I see a couple of pos...
Hooknosed asked 7/7, 2011 at 18:30

7

Solved

I'm developing an Android application for accessing some battle.net (https://eu.battle.net) account data (for World of Warcraft) and I'm using the org.apache.http.client.HttpClient to do so. This ...
Fidgety asked 6/11, 2010 at 20:50

1

Solved

I am doing HTTP POSTs very frequently (>= 1/sec) to an API endpoint and I want to make sure I'm doing it efficiently. My goal is to succeed or fail as soon as possible, especially since I have sepa...
Cragsman asked 10/2, 2010 at 19:34

1

Solved

I need to send a byte[] to rest web service end point and I was wondering how to setup the request using HTTPClient's PostMethod, any ideas?
Roseberry asked 27/4, 2011 at 5:39

© 2022 - 2024 — McMap. All rights reserved.