I am writing a Java web application using the Apache Commons HttpClient.executeMethod(P
ostMethod)
with a MultiThreadedHttpConnectio
nManager.
It is a multi-threaded application where each thread has one connection to the host. I need to require that, for each client thread, if the first post attempt fails, the executeMethod function either returns a failure indication or throws an exception. Is this possible? If so, could you elaborate on what parameter to set and how to set it?
Please let me know if you need more information.
Thanks!
Start Free Trial