Package nbbrd.io.http
Class UrlConnectionHttpClient
java.lang.Object
nbbrd.io.http.UrlConnectionHttpClient
- All Implemented Interfaces:
HttpClient
- Author:
- Philippe Charles
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()@NonNull String@NonNull HttpResponsesend(@NonNull HttpRequest request) static @NonNull URIstatic @NonNull URL
-
Constructor Details
-
UrlConnectionHttpClient
public UrlConnectionHttpClient()
-
-
Method Details
-
builder
-
getDescription
- Specified by:
getDescriptionin interfaceHttpClient
-
send
@NonNull public @NonNull HttpResponse send(@NonNull @NonNull HttpRequest request) throws IOException - Specified by:
sendin interfaceHttpClient- Throws:
IOException
-
toURI
- Throws:
IOException
-
toURL
- Throws:
IOException
-