Package ghidra.net
Class HttpClients
java.lang.Object
ghidra.net.HttpClients
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Clears the currently cachedHttpClient
, forcing it to be rebuilt during the next call togetHttpClient()
.static HttpClient
Returns a shared, plain (no special options)HttpClient
.static HttpClient.Builder
Creates a HttpClient Builder using Ghidra SSL/TLS context info.
-
Constructor Details
-
HttpClients
public HttpClients()
-
-
Method Details
-
newHttpClientBuilder
Creates a HttpClient Builder using Ghidra SSL/TLS context info.- Returns:
- a new HttpClient Builder
- Throws:
IOException
- if error in PKI settings or crypto configuration
-
getHttpClient
Returns a shared, plain (no special options)HttpClient
.- Returns:
- a
HttpClient
- Throws:
IOException
- if error in PKI settings or crypto configuration
-
clearHttpClient
public static void clearHttpClient()Clears the currently cachedHttpClient
, forcing it to be rebuilt during the next call togetHttpClient()
.
-