Ah.. Yes. Thanks..

Looks like the api changed drastically. Is there an upgrade guide from  
3.1 to 4.0?

I'd mostly be worried about how I would go about doing this again:

                getMethod = new GetMethod(url) {

                        String charset = null;

                        @Override
                        public String getResponseCharSet() {
                                if (charset == null) {
                                        charset = super.getResponseCharSet();
                                        if (charset == null || 
CHARSET_NOT_FOUND.equals(charset)) {
                                                try {
                                                        charset = 
detectCharSet(getResponseBodyAsStream());
                                                } catch (Exception e) {
                                                        charset = UTF_8;
                                                }
                                        }
                                }
                                return charset;
                        }
                };


On Sep 27, 2009, at 4:05 PM, Oleg Kalnichevski wrote:

> Douglas Ferguson wrote:
>>> Upgrade to HttpClient 4.0. The 3.x branch is nearing end of life.
>>>
>>
>> Is HttpClient 4.0 available from a maven repository?
>>
>>
>
> Yes, it is
>
> http://hc.apache.org/httpcomponents-client/download.html
>
> Oleg
>
>
>>> Oleg
>>>
>>>> On Sep 27, 2009, at 1:18 PM, Tobias N. Sasse wrote:
>>>>
>>>>> Douglas Ferguson schrieb:
>>>>>> I have been unsuccessful in finding information on how to setup
>>>>>> HttpClient to retrieve random https:// pages.
>>>>>>
>>>>>> Does anybody know how to do this
>>>>> You should look at the following pages:
>>>>>
>>>>> http://hc.apache.org/httpclient-3.x/sslguide.html (version 3)
>>>>> http://hc.apache.org/httpcomponents-client/tutorial/html/connmgmt.html#d4e484
>>>>>
>>>>> HTH,
>>>>> Tobi
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: httpclient-users- 
>>>> [email protected]
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to