Class HTTPClientVersionCheck


  • public class HTTPClientVersionCheck
    extends java.lang.Object
    This is a workaound. For backward compatibility Apache client APIs pre-4.3 and 4.3 versions must be simultaneously supported. This code checks for the presents of 4.3 version code. This static code resides in this class so it will not interfere with the ability to override the ResteasyClientBuilder method in which it is used. User: rsearls Date: 5/4/17
    • Field Detail

      • useOldHTTPClient

        private static final boolean useOldHTTPClient
      • newHTTPClientAvailable

        private static final boolean newHTTPClientAvailable
    • Constructor Detail

      • HTTPClientVersionCheck

        public HTTPClientVersionCheck()
    • Method Detail

      • isUseOldHTTPClient

        public static boolean isUseOldHTTPClient()
      • isNewHTTPClientAvailable

        public static boolean isNewHTTPClientAvailable()