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