On Tue, 2007-12-18 at 21:26 +, jdu jdass wrote:
Hi,
I'm working with httpclient 4 and i need save cookies to my hard disk. I've
readed something about ModuleCookie, but I think it's for httpclient 3.
does exists any way to write cookies to hard disk with httpclient 4??
You can
On Thu, 2008-01-10 at 16:06 -0500, Michael Prichard wrote:
Okfigured this one out. Add this:
// Sets whether authentication should be attempted preemptively.
client.getParams().setAuthenticationPreemptive( true );
And it seems to work perfectly. No idea
..very much like you see when
you set up a .htaccess with BASIC auth. Hmmmany libs out there
that support NTLM?
http://jcifs.samba.org/
Oleg
On Jan 11, 2008, at 9:27 AM, Oleg Kalnichevski wrote:
On Fri, 2008-01-11 at 09:24 -0500, Michael Prichard wrote:
What does this mean? Does
On Tue, 2008-02-19 at 14:57 -0800, Aaron wrote:
I'm just getting into using HttpClient, and since v4 seems to be
coming along well I figured I would start my development with the
alphas and move to the beta and production when they are ready,
however I am curious as to when you will release
On Fri, 2008-02-22 at 16:41 -0500, Stephen More wrote:
I see in version 4 there will be HttpCore NIO extensions - event
driven, non-blocking I/O.
When this is released can it be used to create the client side of a
multipart/x-mixed-replace message ?
There have already been a number of
On Sun, 2008-02-24 at 19:00 -0400, Jeff Kerr wrote:
Hi there, I've had some luck following the example at:
http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java
to login to a web site then get a page
On Mon, 2008-02-25 at 16:48 +, Andy Wu wrote:
Hi,
When making a multipart post uploading a file with a filename containing
non-ascii characters, the filename appears to be incorrect written to
the http request.
If you look at the code, sendDispositionHeader() essentially sends the
The HttpComponents project is pleased to announce the release of
HttpComponents HttpClient 4.0-alpha3. This version brings another round
of API refinements and improvements in functionality. As of this release
HttpClient requires Java 5 compatible runtime environment and takes full
advantage of
On Thu, 2008-02-28 at 09:24 +, Eric Cantonna wrote:
Hello everyone,
This is my first message on the mailing list (but searches in the archives
have already helped me alot).
I'm coding some kind of data miner which works rather well now so i'm
entering the optimisation phase.
I
On Thu, 2008-02-28 at 15:57 +0530, Shailesh Joshi wrote:
Hi.
We are using HttpClient for NTLM Authentication.
We are facing issues when we - disable the storage of LM hashes of user's
passwords. (http://support.microsoft.com/kb/299656)
Following steps are followed in Windows
On Thu, 2008-02-28 at 17:19 +0800, micky wrote:
Dear,
I use the HttpClient to login some page, and it will have a cookie according
to my login.
But when I try to access another page (needed for logon) by the same
HttpClient, the response is access denied.
Then I print out the
On Thu, 2008-03-06 at 19:42 +0100, Tov Are Jacobsen wrote:
Hi,
I'm getting a warning and an Exception stack-trace for every single
connection I do after the first one.
I consumeContent after each request, so I think my code should be ok
... and it works as well, but I wonder
if it's
On Fri, 2008-03-07 at 13:24 +0800, micky wrote:
Dear,
I finally figure out how to log!!
Please help me find out why these two connections' cookie are different.
Because HttpClient does not find the first cookie when executing the
second request. You are not creating a new instance of
On Tue, 2008-03-11 at 21:23 +0800, micky wrote:
Dear,
I solved the cookie issues according to the article mentioned by Roland at
http://www.nabble.com/forum/ViewPost.jtp?post=15912252framed=y
After I GET a request to the server, the session will be established.
The following sequences
On Tue, 2008-03-11 at 11:25 -0700, George Ludwig wrote:
I am doing some web harvesting, and I'm trying to
better handle the situation where a hostile website
has my connection and then sends a few packets of
garbage data every couple of minutes.
In the loop where I read data off the input
On Tue, 2008-03-11 at 11:38 -0700, sjlucas wrote:
Eric Cantonna wrote:
Maybe I'm saying something stupid but 2G is awfully close to maxint. Maybe
there is a count of bytes read/available somewhere that use an int and
should use a long instead.
Just an idea that crossed my mind.
On Tue, 2008-03-11 at 01:49 -0400, [EMAIL PROTECTED] wrote:
Hi All,
I'm new to HttpClient package. I've noticed that PostMethod
class does not have a method that would return OutputStream that I
could use to write the serialized object in to. This can be done using
On Thu, 2008-03-13 at 13:10 +0100, Thorsten Scherler wrote:
Hi all,
I am ATM trying to integrate latest httpclient into Droids. I have some
old code that is based on a prior version of the client.
Some method/class name changes I found myself but some I am not sure how
to implement them.
On Sat, 2008-03-15 at 10:00 -0700, Wayne Richards wrote:
This is probably a newbie question, as I have just started working with
the HTTPClient.
The question is that I know that the following line placed in a browser
address line will return what I want.
On Mon, 2008-03-17 at 11:30 -0700, ghanchakkar wrote:
Please help me.
I building a bot and trying to upload file along with form fields. when
compare the request generated by httpclient with that of microsoft browser,
I notice that httpclient is having following format after the header.
On Fri, 2008-03-14 at 11:24 +0800, hjw wrote:
Hi,dear all:
I trying to use httpclient to get data from a website once in 1 second
,but when the count of getting data is appropriate to above 300 times,the
programme will show a connection reset exception,I must keep the programme
to work no
On Tue, 2008-03-18 at 08:56 +0800, hjw wrote:
Oleg Kalnichevski ,
I am sending a new HTTP request every second and then get the
response.butusually connection reset after between 400 and 500
times,and some can over
1000 times.
Raymond,
Connection resets can happen due to various
On Mon, 2008-03-17 at 22:19 -0700, Ravichan wrote:
Hi .. I followed your steps .
I have downloaded the certificate and stored as DER in local.
Then I tried to execute the following command.
keytool -keystore C:\Program Files\Java\jdk1.6.0\jre\lib\security\cacerts
-import -alias
On Tue, 2008-03-18 at 08:29 -0700, Karr, David wrote:
Has anyone ever implemented a variation on
StrictSSLProtocolSocketFactory that could log an event if a server cert
has an expiration date within a certain margin from the current date?
If someone were to implement this, would this be the
On Wed, 2008-03-19 at 14:31 +0100, Thierry Boileau wrote:
Hello all,
After some tests, I noticed that the HttpClient hangs in the case the
server sends a response with informational status and at the same time
does not support persistent connections. I recognize that this case is
quite
On Thu, 2008-03-20 at 10:49 +0800, hjw wrote:
Hi,all:
I find HttpMethod#abort() will close socket, but I only want to interrupt
the IO operation which is using the network.
My case is that some important message must post at once when data I get
from the same site is match some
On Thu, 2008-03-20 at 10:31 +0530, Biju P wrote:
Hi,
I am writing an Applet. The applet must be accessed by users from
different domains and networks which are controlled by proxies and
firewalls.
My concerns are,
i) The applet should be able to send requests to external websites thru
On Thu, 2008-03-20 at 18:19 +0100, Uwe Kubosch wrote:
Hi all!
We are using the Commons HttpClient in a multithreaded application, and
frequently there are more threads trying to use the client than the
limit set by setMaxConnectionsPerHost.
In this situation we still need to log the
On Thu, 2008-03-20 at 20:38 +0200, Mehmet Kuzu wrote:
Hİ ,
I have a problem about getting response behind proxy which requires
authentication using apache httpclient . Proxy server is squid and it
uses ntlm protocol. I am new to httpclient
API and i may miss something.
Thanks very
On Thu, 2008-03-20 at 22:05 -0700, Ankur Shah wrote:
I am using httpclient to connect to a remote server. Now for each primary
server there's also a backup failover server that i must talk to if
connection attempts with the primary server fails. To achieve
this what i'd ideally like to do is
/ClientGZipContentCompression.java
How reliable is HttpClient 4.0 compared to HttpClient 3.1?
Depends on your definition of reliability. 4.0 is certainly not API
stable yet.
Oleg
Uwe
On Mon, 2008-03-24 at 20:37 +0100, Oleg Kalnichevski wrote:
On Thu, 2008-03-20 at 18:19 +0100, Uwe Kubosch
(5) repeat
Hope this helps
Oleg
On Mon, Mar 24, 2008 at 12:47 PM, Oleg Kalnichevski [EMAIL PROTECTED]
wrote:
On Thu, 2008-03-20 at 22:05 -0700, Ankur Shah wrote:
I am using httpclient to connect to a remote server. Now for each
primary
server there's also a backup failover server
On Thu, 2008-03-27 at 16:03 -0500, Larry Owen wrote:
Hello,
Can anyone help me out with an example using client certificate
authentication? I'm currently trying to modify
EasySSLProtocolSocketFactory.java from the contribs in the 3.1 source,
but It's completely hopeless.
Larry,
There
On Sat, 2008-03-29 at 22:27 -0700, Corey Lundon wrote:
Is my problem that my Login is based on javascript and HttpClient doesn't
execute javascript like a browser does. So is what I am doing impossible.
Corey
No, it is not impossible. You just need to manually simulate the effect
of a form
] MultiThreadedHttpConnectionManager - Notifying no-one, there are no
waiting threads
What can be the possible reason for this? What can be the way(s) to avoid this?
Regards,
Gagneet
Oleg Kalnichevski [EMAIL PROTECTED] wrote:
On Thu, 2008-03-27 at 11:53 +, gagneet wrote:
Hi Oleg,
As I
vijay shanker wrote:
Hello friends.
I am very new to this API and I got to make some decisions.
- what should I use in production in my team.(HttpClient4,
HttpClient3 or HttpCore). How they are different with each other.
* HttpClient 3.x is very stable and
Sebastiaan van Erk wrote:
Hi,
I'm trying to use preemptive authentication because I have a
non-repeatable (dyanimc) request entity. Currently when posting, this
goes wrong because I get a 401 Unauthorized but it has already sent some
of the data, and when it tries again with the basic
Aaron Shettleroe wrote:
It appears that HttpClient is sending the same request more than once.
Unlikely, unless the RetryHandler is configured to do so.
I tried to code against this.
Here is some code snippets:
private static HttpClient httpClient;
...
final HttpConnectionManagerParams
[EMAIL PROTECTED] wrote:
Hello,
I am using httpclient 3.1. I am trying to make a http request that should
timeout when a response is not revceived within 2 minutes.
See definition of the socket timeout
Oleg
The requirement
is also to retry 3 times before throwing back an application
* retry the request
with the authentication header, as it seems to me that it is impossible
if the entity is not repeatable and some data is already sent. An
exception might be better?
Can you post a wire/context log of the session?
Oleg
Regards,
Sebastiaan
Oleg Kalnichevski wrote
with an absolute
request URI. HttpClient will create an instance of HostConfiguration for
you.
Hope this helps
Oleg
Thanks once again for your help.
Regards,
Gagneet
- Original Message -
From: Oleg Kalnichevski [EMAIL PROTECTED]
To: HttpClient User Discussion httpclient-users
On Wed, 2008-04-02 at 21:55 +0200, Sebastiaan van Erk wrote:
Hi,
I have a question on the chunked output stream: one of the nice things
about chunked encoding is that you can send your data in little parts.
However, flush() on ChunkedOutputStream does not flush the buffer:
/**
On Wed, 2008-04-02 at 18:46 -0500, Ranthydev Rereddy wrote:
Hello.
I am attempting to use HttpClient to access a jsf page for uploading
files. The jsf page has a submit button that invokes an action on a bean.
When I first access the jsf page it returns the file upload page with a
On Thu, 2008-04-03 at 22:22 -0700, Sujith Joseph wrote:
Hi,
I am trying to implement a way of throttling http connections to a web
server from a web service, using httpclient, so that the web server wouldn't
be overloaded with more than 'x' concurrent connections, from my web
service. (I
On Fri, 2008-04-04 at 14:14 -0400, Jeremy Mayhew wrote:
Hi,
I am using htmlunit+httpclient to test an embedded web application.
Unfortunately there is a large set of requests for which this embedded
webserver does not respond with an HTTP header, but instead splats the body
without a
On Mon, 2008-04-07 at 23:31 +0100, Christiaan Lamprecht wrote:
Thanks Oleg,
Socket timeout defines a maximum of period inactivity between two
_consecutive_ I/O operations.
I've been looking through the connection manager code trying to find
out what effect a ConnectionTimeout and
-
From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 10, 2008 5:46 PM
To: HttpClient User Discussion
Subject: RE: Using NTLM auth with expect continue
On Thu, 2008-04-10 at 17:19 -0400, Tony Thompson wrote:
Hopefully this has what you need:
...
DEBUG (04/10) 17
6e 75 65 0d 0a 0d 0a 50 4f 53 54 continuePOST
03e0 20 2f 6e 74 6c 6d 74 65 73 74 2f 64 69 73 70 6c /ntlmtest/displ
03f0 61 a
-Original Message-
From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
Sent: Friday, April 11, 2008 3
On Tue, 2008-04-15 at 21:41 +0300, Eugeny N Dzhurinsky wrote:
On Tue, Apr 15, 2008 at 07:49:12PM +0200, Oleg Kalnichevski wrote:
On Tue, 2008-04-15 at 19:43 +0300, Eugeny N Dzhurinsky wrote:
Hello there!
Is there any way to get the bandwidth, used by HttpClient to download
On Thu, 2008-04-17 at 11:40 +0200, Jan Bracker wrote:
Hello,
i'm using the DefaultHttpClient for downloading bigger files. When i
want to abort a download i call response.getEntity().consumeContent()
Why? The purpose of HttpEntity#consumeContent() method is to ensure the
underlying
On Sun, 2008-05-04 at 02:55 -0400, Bashiro wrote:
I sent this message hoping to get a response but all invain.
I hereby send again in case it escaped others. I really need help
Thanks.
Hello,
I will be grateful for any kind of help...
The authentication site is:
The HttpComponents project is pleased to announce the release of
HttpComponents HttpClient 4.0-alpha4. This release marks the completion
of the overhaul of the connection management code in HttpClient. All
known shortcomings of the old HttpClient 3.x connection management API
have been addressed.
On Sat, 2008-05-10 at 11:03 +0200, Sebastiaan van Erk wrote:
Hi,
First of all, thanks for the new httpclient release. :-)
When I was updating my project I ran into one small generics issue; the
following code will not compile:
new
this yet. But if you
already know this, I think, I could save some testing time .
No, I am not. However, I have been lucky enough to have not touched WAS
for 4 years.
Oleg
Thanks,
Sujith
On Thu, May 15, 2008 at 12:10 PM, Oleg Kalnichevski [EMAIL PROTECTED]
wrote:
On Tue, 2008-05-13
On Fri, 2008-05-16 at 09:17 -0700, stanlick wrote:
Greetings --
I am searching for a generic solution for transferring files between peers
using HttpClient and FileUpload. I see a myriad of techniques, but would
really appreciate a solution that:
1) streams in/out (don't want to worry
On Fri, 2008-05-16 at 16:05 -0400, [EMAIL PROTECTED] wrote:
Hi All,
I've requirement to send both serialized java object and stream object.
Here is the code that sends serialized object
ByteArrayOutputStream requestStream = new
ByteArrayOutputStream();
- [\r][\n]
2008/05/20 14:01:32:193 NZST [DEBUG] header - HTTP/1.1 404 Not
Found[\r][\n]
On 5/20/08, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
richard schmidt wrote:
When I try and run this code, I always get a responce from a server at
port
80.
What makes you think so
On Tue, 2008-05-20 at 20:48 +0800, jeffty wrote:
Hi,
I'm looking for the tutorial of HttpCore in http://hc.apache.org.
And only some examples are available. And is there any detailed articles
about it?
Thanks in advance.
This is all we have at the moment
On Tue, 2008-05-20 at 11:12 -0400, Ashish Kulkarni wrote:
Hi
This is the error i am getting
2008-05-20 11:08:33,437 DEBUG [main] params.DefaultHttpParams
(DefaultHttpParams.java:151) - Set parameter http.auth.scheme-priority =
[Basic]
The client has been configured to accept basic
On Wed, 2008-05-21 at 09:29 +1200, richard schmidt wrote:
Thanks I will try 4.0beta1
The latest official release is 4.0-alpha4. HttpClient 4.0 is not yet in
the BETA phase.
BTW do you have a maven POM for it?
Yes.
Oleg
On 5/21/08, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
On Tue
Vibhav Sharma wrote:
Hi,
I have used HttpClient 3.x previously. It did not have the ability to do
the following.
* Client makes a chunked multipart request to server.
* Server responds with a chunked response.
* Client sends more data as part of the same request.
* Server
DrewC wrote:
Ok, I guess I just needed to keep banging on this for another hour. I am now
using a non-default context with the execute and then reconstructing the
final require URL with:
HttpUriRequest finalRequest =
(HttpUriRequest)
On Thu, 2008-05-22 at 21:46 -0700, JBRyu wrote:
Hi,
I have a problem with downloading a .jar file from a HTTP server. I'm now
using httpclient-4.0-alpha4 and httpcore-4.0-beta1 libraries. I can download
any .jar file using a http input stream, but the download .jar file is
corrupted even if
On Fri, 2008-05-23 at 14:30 +0530, Laxmilal Menaria wrote:
Hello,
We are using httpclient 3.1 library in our application and sending
multiple request using Multiple threads. Releasing connection when the
thread completes using httpmethod.releaseconnection() method.
But we encountered that
On Fri, 2008-05-23 at 16:03 -0500, Dimitrios Christodoulakis wrote:
Hello, I am a new user of HTTPClient and trying to learn how to use
it. I have read the relevant primer and user guide but I am not sure
what is the difference between headers and parameters.
HTTP headers are elements of the
Folks
The redesign of HttpClient is now complete. All known problems with the
old (3.x) API and architecture limitations have been resolved. All
features planned for the 4.0 release are now in place.
Due to the release schedule of one of our upstream projects we will have
to freeze the 4.0 API
On Mon, 2008-06-02 at 16:21 -0700, Darrell Esau wrote:
Hi all,
I'm posting multipart form data to a web service which expects the
headers in a certain order.
Particularly, each part contains a Content-Type and
Content-Disposition header.
If I send the data with the Content-Disposition
On Tue, 2008-06-03 at 20:48 +0800, maomaode wrote:
Hi,
I'm hitting a Out Of Memory error when using ThrottlingHttpClientHandler
http://hc.apache.org/httpcomponents-core/httpcore-nio/apidocs/org/apache/http/nio/protocol/ThrottlingHttpClientHandler.html
I gave a
On Thu, 2008-06-05 at 08:51 +1000, Steven Adams wrote:
But org.apache.http.wire is right?
Yes, it is.
Oleg
-Original Message-
From: Sam Berlin [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 June 2008 12:03 AM
To: HttpClient User Discussion
Subject: Re: Log4j with Httpclient 4.x
On Fri, 2008-06-06 at 13:35 +0800, maomaode wrote:
Hi,
I've filed the issue https://issues.apache.org/jira/browse/HTTPCORE-162
Testcase patch attached, also paste the stacktrace
Some other questions,
In the NIO client sample,
ioReactor.connect(
new
On Thu, 2008-06-05 at 23:14 -0700, Thuannd wrote:
Hi!
When after a redirect response a retry is done by the
DefaultClientRequestDirector, i think, redirect request cann't add all
headers from original request. Some headers, example: Host header , there
will be incorrect value if request
On Mon, 2008-06-09 at 11:25 -0500, Eduardo J. Ortega U. wrote:
Hi, all:
I am trying to use HttpClient to authenticate to a website, and do a
couple of GET and POST requests. I can submit the authentication form,
get the cookie, and after getting the cookie, I can make a GET
request and I
On Mon, 2008-06-09 at 18:51 +0200, Bas Schulte wrote:
Hi,
I need to encode my parameters in a GET request to a given host in
iso-8859-1. How would I go about that with httpclient (3.1)?
There's EncodingUtil.getBytes that gives me a byte[]:
String messageData = blah;
byte[] bytes =
On Mon, 2008-06-09 at 13:47 -0700, Benouille wrote:
Hi all,
I'm new to HTTPClient.
I'm trying to logon to a form developped under WEBSPHERE Studio.
This form needs a username/password and need to accept cookies.
So i try the sample FormLoginDemo in the HTTPClient samples.
Unfortunately,
On Tue, 2008-06-10 at 14:35 +0200, Martin Zdila wrote:
hello
is there support for http pipelining in the httpclient/httpcore 4? if not,
are
thare any plans to support it?
Martin,
The trouble is that pipelining and 'expect:continue' handshaking are
(pretty much) mutually exclusive.
On Wed, 2008-06-11 at 11:23 +0300, Vasilij Savin wrote:
Greetings,
I have been playing with HttpClient 4 lately. It is pretty nice piece of
software, but recently I run into problem I was not able to resolve.
Currently I am using HttpClient to provide communication between sistem I
am
-log4j-bridge/
PS: I'll tally the votes on Friday
On Mon, 2008-06-02 at 22:36 +0200, Oleg Kalnichevski wrote:
Folks,
We are currently considering whether we should continue using
commons-logging or migrate to SLF4J or java.util.logging. Please let us
what your preference is. We are going
Quintin Beukes wrote:
Hey,
I made some basic servlets to test throughputs for HttpClient,
HttpCore and sun's sun.net.www.protocol.http.HttpURLConnection (or
something along those lines, I don't have an API at hand now).
I basically just put up an apache session listening on port 8580, and
then
or that of your Internet service provider's routing infrastructure.
I guess 'localhost' is your best friend.
Oleg
Q
On Thu, Jun 12, 2008 at 11:02 PM, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
Quintin Beukes wrote:
Hey,
I made some basic servlets to test throughputs for HttpClient,
HttpCore
Commons Logging: 8
slf4j: 10
java.util.logging:2
20 votes (out of ~330 subscribers) is hardly representative but there is
not much I can do about it
It looks like there is enough support to keep Commons Logging. Given
Thanks
Q
On Fri, Jun 13, 2008 at 2:53 PM, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
On Fri, 2008-06-13 at 11:56 +0200, Quintin Beukes wrote:
Not getting expected rate when running inside tomcat.
Here are my benchmark results for running as an application (direct
connections
Quintin Beukes wrote:
I'm only guessing, but it might help if I supply the URL to the guide:
http://wiki.apache.org/HttpComponents/GeneralHttpCoreIntroduction
Quintin
Great stuff! Many thanks for this contribution. I'll put a link to it on
the project's web site after the 4.0-beta2
On Sun, 2008-06-15 at 22:03 +0200, Quintin Beukes wrote:
Hey,
Like I promised, I started creating documentation for HttpComponents.
I am creating them as I learn it while implementing it in my own
software. Since my software is closed source, I have to make parallel
classes which simply use
On Thu, 2008-06-19 at 12:13 -0700, David Gallardo wrote:
I've read section 9.1 and don't see how this would be in violation of the
spec. I intend to use the body merely to specify the query, the server
doesn't preserve it, so it's an entirely safe, idempotent retrieval
operation--like any
is #shutdown.
I would certainly help if you managed to reproduce the problem with a
test case.
Cheers
Oleg
It is definitely a concurrency issue. I am still narrowing them all down.
thanks,
Q
On Thu, Jun 19, 2008 at 12:02 AM, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
On Wed, 2008-06-18
this into
being more reliable (in the sense of reducing failures to a minimum).
Q
On 6/21/08, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
Quintin Beukes wrote:
Hey,
Isn't isStale() supposed to be able to tell me whether the server is
accepting responses?
No, it is intended to test if the connection
The Apache HttpComponents project is pleased to announce the release of
HttpComponents HttpCore 4.0-beta2. This release adds a number of
improvements to the NIO components, most notable being improved
asynchronous client side and server side protocol handlers.
There has been a number of
On Fri, 2008-06-27 at 00:19 -0400, RM1X wrote:
Hi everyone,
Got all of the HttpClient+core downloads, linked them up in the Eclipse
project properties, and unfortunately when trying to run the HttpClient
I get:
Exception in thread main java.lang.NoClassDefFoundError:
/logging.html
Oleg
We'll try the multithreaded connection manager next. (I was pretty sure the
calling app was single threaded but I'm not 100% sure).
Thanks!
Ken
-Original Message-
From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 11:20 AM
On Fri, 2008-06-27 at 10:43 -0700, Yan aka. Yansheng wrote:
Hi There,
This is my first post here so I hope this is the right audience.
My story: I want to replace a chunk of my code for doing I/O streaming to a
webservice. I use java.net.HttpURLConnection to get the InputStream and
On Wed, 2008-07-02 at 11:59 +0200, Quintin Beukes wrote:
Hey,
Due to our search engine for one of our sites being hosted on a
separate domain, we can't do AJAX requests to the original domain.
This isn't much of a problem, as I figured I'd just use HttpClient to
make a servlet which is a
On Thu, 2008-07-03 at 15:12 -0700, Mike Cumings wrote:
Hello all,
I've got a question as to the usage of the ConnectMethod. From the API,
it appears that the only non-deprecated way to create a HTTP CONNECT
connection is to construct a ConnectMethod instance, passing in a
HostConfiguration
On Sat, 2008-07-05 at 12:56 -0700, Mike Cumings wrote:
Hi Oleg,
I'm well ware of what HTTP CONNECT is used for and how it works. When I added
the explicit protocol selection in the snippet of code previously sent
out, I was
just checking to see if the scheme would e inherited from the host
consider
building a custom HTTP client using components of HttpClient 4.0. The
4.0 API is significantly more modular and flexible than its predecessor.
Oleg
Mike
On Sat, Jul 5, 2008 at 4:14 PM, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
On Sat, 2008-07-05 at 12:56 -0700, Mike Cumings wrote
On Wed, 2008-07-09 at 11:51 -0700, Alexis Midon wrote:
Hi all,
I'd like to know how Httpclient 3.* deals with compressed content in a way
or another.
No, it does not
for instance may I expect compressed response bodies to be uncompressed
transparently and exposed in their Content-Type?
On Wed, 2008-07-16 at 10:32 +0530, Jawahar Nayak wrote:
Hi,
I am using HttpClient3.0. To set retry handler I am using
clientParams.setParameter(HttpMethodParams.RETRY_HANDLER, 3);
This is wrong. See
http://hc.apache.org/httpclient-3.x/exception-handling.html#Custom_exception_handler
the underlying
connection
(2) Extend the default connection manager, override its
releaseConnection method and extend it to close all connections returned
to the pool.
(3) Remove connection from the pool that have been idle for too long.
3 option is recommended
Oleg
greetings,
Michael
Oleg
On Wed, 2008-07-16 at 16:18 -0700, Leena Borle wrote:
Hi,
I have a struts-2 application running on Tomcat-5 with Single Sign on
enabled. What I am trying to do is , use HttpClient(struts2 app) to access
data other WAR(say WAR2) which also has Form Based login system. To avoid
sending
On Wed, 2008-07-16 at 16:19 -0700, Algirdas Veitas wrote:
Hi,
Our application is using HttpClient 3.0.1 and is experiencing long wait
times (started happening recently it seems) in the method
MultiThreadedHttpConnectionManager.doGetConnection(...). To give a summary
of the application, we
On Wed, 2008-07-16 at 17:34 -0700, Uday Subbarayan wrote:
Hi All,
I am having trouble in using HTTPClient 3.1 for PUT method w/
Expect:100-Continue header.
My requirement is that,
[1] client sends a PUT request to the server with header only using this
Expect header and waits for
1 - 100 of 2518 matches
Mail list logo