public class PolygonRequest
extends java.lang.Object
| Constructor | Description |
|---|---|
PolygonRequest(java.lang.String keyId) |
Instantiates a new polygon request.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
getResponseObject(com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> httpResponse,
java.lang.reflect.Type type) |
Gets the response object.
|
com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> |
invokeDelete(PolygonRequestBuilder builder) |
Invoke delete.
|
com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> |
invokeGet(PolygonRequestBuilder builder) |
Invoke get.
|
com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> |
invokePost(PolygonRequestBuilder builder) |
Invoke post.
|
public PolygonRequest(java.lang.String keyId)
keyId - the key idpublic com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> invokeGet(PolygonRequestBuilder builder)
builder - the builderpublic com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> invokePost(PolygonRequestBuilder builder)
builder - the builderpublic com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> invokeDelete(PolygonRequestBuilder builder)
builder - the builderpublic <T> T getResponseObject(com.mashape.unirest.http.HttpResponse<com.mashape.unirest.http.JsonNode> httpResponse,
java.lang.reflect.Type type)
T - the generic typehttpResponse - the http responsetype - the type