Interface HttpClient
public interface HttpClient
A simple HTTP Client that gets configured by the server configuration, possibly with a keystore.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAll errors that occur while building or sending requests via aHttpClient.static enumDefines automatic redirection policy.static enumThe HTTP protocol version. -
Method Summary
Modifier and TypeMethodDescriptionStart creating a HTTP request to the given endpoint.
-
Method Details
-
getScheme
String getScheme()- Returns:
- this client's scheme.
-
cookieManager
- Returns:
- this client's CookieManager, if it has one.
-
request
Start creating a HTTP request to the given endpoint.- Parameters:
uri- URI to which the request will be sent- Returns:
- builder of HTTP request
-