public class SimpleRestClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleRestClient.RequestBuilder
Builder for fluently defining a request
|
static class |
SimpleRestClient.Response
A Response handle around a HttpURLConnection
|
| Constructor and Description |
|---|
SimpleRestClient() |
| Modifier and Type | Method and Description |
|---|---|
static SimpleRestClient.RequestBuilder |
requestTo(String url)
Initiates a new request to the specified URL
|
static SimpleRestClient.RequestBuilder |
requestTo(URL url)
Initiates a new request to the specified URL
|
public static SimpleRestClient.RequestBuilder requestTo(String url)
url - a string representing an URL. If the url String is not valid, an exception is thrownpublic static SimpleRestClient.RequestBuilder requestTo(URL url)
url - the requested URLCopyright © 2017–2018 DevCon5 GmbH. All rights reserved.