Package org.jboss.resteasy.client.jaxrs
Class HTTPClientVersionCheck
java.lang.Object
org.jboss.resteasy.client.jaxrs.HTTPClientVersionCheck
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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final boolean
private static final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static boolean
-
Field Details
-
useOldHTTPClient
private static final boolean useOldHTTPClient -
newHTTPClientAvailable
private static final boolean newHTTPClientAvailable
-
-
Constructor Details
-
HTTPClientVersionCheck
public HTTPClientVersionCheck()
-
-
Method Details
-
isUseOldHTTPClient
public static boolean isUseOldHTTPClient() -
isNewHTTPClientAvailable
public static boolean isNewHTTPClientAvailable()
-