| Package | Description | 
|---|---|
| com.ibm.watson.developer_cloud.service | |
| com.ibm.watson.developer_cloud.util | 
 Utility classes to detect media types and convert files into input streams. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected <T> ServiceCall<T> | 
WatsonService.createServiceCall(okhttp3.Request request,
                 ResponseConverter<T> converter)
Creates the service call. 
 | 
protected <T> T | 
AlchemyService.processServiceCall(ResponseConverter<T> converter,
                  okhttp3.Response response)  | 
protected <T> T | 
WatsonService.processServiceCall(ResponseConverter<T> converter,
                  okhttp3.Response response)
Process service call. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> ResponseConverter<T> | 
ResponseConverterUtils.getGenericObject(Type type,
                String property)
Creates a generic  
ResponseConverter for a generic class. | 
static ResponseConverter<InputStream> | 
ResponseConverterUtils.getInputStream()
Creates an  
InputStream converter. | 
static <T extends GenericModel> | 
ResponseConverterUtils.getObject(Class<? extends T> type)
Creates a generic  
ResponseConverter for a POJO class. | 
static ResponseConverter<String> | 
ResponseConverterUtils.getString()
Creates a generic  
ResponseConverter for a String response. | 
static ResponseConverter<Void> | 
ResponseConverterUtils.getVoid()
Gets the void converter. 
 | 
Copyright © 2015–2016 IBM Watson. All rights reserved.