public class SingleUriService extends Object implements HttpService
| Constructor and Description |
|---|
SingleUriService(URI server,
okhttp3.OkHttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static URL |
getFullUrl(URI base,
String extraPath) |
HttpResponse |
makeRequest(String path,
okhttp3.Request.Builder requestBuilder) |
public SingleUriService(URI server, okhttp3.OkHttpClient client)
public HttpResponse makeRequest(String path, okhttp3.Request.Builder requestBuilder) throws IOException
makeRequest in interface HttpServiceIOExceptionpublic void close()
close in interface HttpServiceclose in interface AutoCloseablepublic static URL getFullUrl(URI base, String extraPath) throws MalformedURLException
MalformedURLException