Package org.jboss.resteasy.client.jaxrs
Class HTTPClientVersionCheck
- java.lang.Object
-
- org.jboss.resteasy.client.jaxrs.HTTPClientVersionCheck
-
public class HTTPClientVersionCheck extends java.lang.ObjectThis 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 Summary
Fields Modifier and Type Field Description private static booleannewHTTPClientAvailableprivate static booleanuseOldHTTPClient
-
Constructor Summary
Constructors Constructor Description HTTPClientVersionCheck()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisNewHTTPClientAvailable()static booleanisUseOldHTTPClient()
-