Class ResourceAbstract

java.lang.Object
app.sdkgen.client.ResourceAbstract

public abstract class ResourceAbstract extends Object
  • Field Details

    • baseUrl

      protected String baseUrl
    • httpClient

      protected org.apache.http.client.HttpClient httpClient
    • objectMapper

      protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • ResourceAbstract

      public ResourceAbstract(String baseUrl, org.apache.http.client.HttpClient httpClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • parse

      protected <T> T parse(String data, Class<T> type) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException