- accept(String) - Method in class io.devcon5.commons.rest.SimpleRestClient.RequestBuilder
-
Sets a custom content type as Accept header
- acceptJson() - Method in class io.devcon5.commons.rest.SimpleRestClient.RequestBuilder
-
Sets the accept content type to application/json
- addHeader(String, String) - Method in class io.devcon5.commons.rest.SimpleRestClient.RequestBuilder
-
Adds a custom header to the request
- as(Class<T>, int...) - Method in class io.devcon5.commons.rest.SimpleRestClient.Response
-
Tries to parse the returned content into the specified target type.
- asBytes(int...) - Method in class io.devcon5.commons.rest.SimpleRestClient.Response
-
Reads the response as byte array if the response represents is valid (by response code)
- asInputStream(int...) - Method in class io.devcon5.commons.rest.SimpleRestClient.Response
-
Reads the response as InputStream if the response represents is valid (by response code)
- asString(int...) - Method in class io.devcon5.commons.rest.SimpleRestClient.Response
-
Reads the response as String if the response represents is valid (by response code)
- auth(String) - Method in class io.devcon5.commons.rest.SimpleRestClient.RequestBuilder
-
Specifies a custom auth token to set as Authorization information on the request