Represents the available underlying HTTP client libraries (as supported by HttpBuilder-NG).
Type Params | Return Type | Name and description |
---|---|---|
|
static HttpLibrary |
fromName(java.lang.String name) Resolves the enum value from the name, which should be the same as the enum name, case insensitive. |
Methods inherited from class | Name |
---|---|
class java.lang.Enum |
java.lang.Enum#name(), java.lang.Enum#equals(java.lang.Object), java.lang.Enum#toString(), java.lang.Enum#hashCode(), java.lang.Enum#compareTo(java.lang.Object), java.lang.Enum#compareTo(java.lang.Enum), java.lang.Enum#valueOf(java.lang.Class, java.lang.String), java.lang.Enum#getDeclaringClass(), java.lang.Enum#ordinal(), java.lang.Enum#wait(long, int), java.lang.Enum#wait(long), java.lang.Enum#wait(), java.lang.Enum#getClass(), java.lang.Enum#notify(), java.lang.Enum#notifyAll() |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The "apache" library, using the Apache HttpComponents client library.
The "core" library, using built-in Java HTTP client.
The "okhttp" library, using the OkHttp client library.
Resolves the enum value from the name, which should be the same as the enum name, case insensitive.
name
- the library nameGroovy Documentation