GitHub - shawkins/httpclient

JDK Client For Fabric8

This client "mostly" works. However the are a few key issues:

It is not yet documented the difference in configuration. Not all Config properties are applicable to this client. They include:

  • setting a hostnameVerifier when isTrustCerts or isDisableHostnameVerification. The alternative is to set the jdk.internal.httpclient.disableHostnameVerification system property to true
  • getWebsocketPingInterval, getMaxConcurrentRequests, and getMaxConcurrentRequestsPerHost are unused. I don't see that the jdk provides similar mechanisms.

Other concerns:

  • see the note about proxy authorization handling in JdkHttpClientBuilderImpl. That approach needs validated and there is an additional system property that may need set.
  • I'm not sure what the equivalent is to the okhttp trace logging