Package ghidra.net
Class HttpClients
java.lang.Object
ghidra.net.HttpClients
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidClears the currently cachedHttpClient, forcing it to be rebuilt during the next call togetHttpClient().static HttpClientReturns a shared, plain (no special options)HttpClient.static HttpClient.BuilderCreates 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().
-