public class AbstractStub extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractStub.ResponseType |
| Modifier and Type | Field and Description |
|---|---|
protected KatharsisClient |
client |
static String |
CONTENT_TYPE |
protected JsonApiUrlBuilder |
urlBuilder |
| Constructor and Description |
|---|
AbstractStub(KatharsisClient client,
JsonApiUrlBuilder urlBuilder) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
execute(String url,
AbstractStub.ResponseType responseType,
HttpMethod method,
String requestBody) |
protected Object |
executeDelete(String requestUrl) |
protected Object |
executeGet(String requestUrl,
AbstractStub.ResponseType responseType) |
public static final String CONTENT_TYPE
protected KatharsisClient client
protected JsonApiUrlBuilder urlBuilder
public AbstractStub(KatharsisClient client, JsonApiUrlBuilder urlBuilder)
protected Object executeGet(String requestUrl, AbstractStub.ResponseType responseType)
protected Object execute(String url, AbstractStub.ResponseType responseType, HttpMethod method, String requestBody)
Copyright © 2017. All Rights Reserved.