0 Replies Latest reply on Aug 13, 2003 9:13 AM by Christian Neuroth

    Apache's HttpClient inside of JBoss?

    Christian Neuroth Newbie

      Hi!

      I am in need to use Apache's HttpClient inside of JBoss. I am facing one big performance problem:
      Receiving large HttpResponses takes a lot of time:

      /* postMethod is of type org.apache.commons.httpclient.methods.PostMethod
      */
      byte[] content = postMethod.getResponseBody();

      Running the same code in a (non J2ee) standard Java application works fine.

      What can I do?

      Regards

      Christian