public abstract class NakedPostRequest<T> extends Request
connector, gson, queryParameters| Constructor and Description |
|---|
NakedPostRequest(ServiceConnector connector,
String route,
String token) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
parse(String response) |
T |
run() |
NakedPostRequest<T> |
withJsonString(String json) |
getBodyAttributes, getHeaderAttributes, getQueryParameters, getRoute, getToken, withBodyAttribute, withBodyAttributes, withHeaderAttribute, withHeaderAttributes, withQueryParameter, withQueryParamspublic NakedPostRequest(ServiceConnector connector, String route, String token)
public NakedPostRequest<T> withJsonString(String json)
public T run() throws CodotaConnectionException, CodotaHttpException
Copyright © 2018. All rights reserved.