Hi,
I just update the version of the httpclient I'm using from 5.3.1 to 5.5 and my
HTTP application totally stopped working.
When I check to see what is happening, I saw that my custom
HttpRequestExecutor is not being called anymore.
I'm relying on some custom logic in the execute method which is being executed
before calling the super.execute, but the exec chain never gets inside of my
HttpRequestExecutor. The method I'm overriding is -
public ClassicHttpResponse execute(final ClassicHttpRequest request,
final HttpClientConnection conn,
final HttpContext context)
I tried to change from extending the HttpRequestExecutor, to implementing the
newly introduced interface RequestExecutor (I think in version 5.4) but it
didn't work either.
I'm registering the request executor by using the method:
HttpClientBuilder.create().setRequestExecutor(new CustomHttpRequestExecutor())
I have no other changes made in my application, the only change is the update
to the new version.
Can you please help me with this one!
Best Regards,
Yavor