public final class ResponseConverterUtils extends Object
ResponseConverter.ResponseConverter| Modifier and Type | Method and Description | 
|---|---|
| static <T> ResponseConverter<T> | getGenericObject(Type type,
                String property)Creates a generic  ResponseConverterfor a generic class. | 
| static ResponseConverter<InputStream> | getInputStream()Creates an  InputStreamconverter. | 
| static <T extends GenericModel> | getObject(Class<? extends T> type)Creates a generic  ResponseConverterfor a POJO class. | 
| static ResponseConverter<String> | getString()Creates a generic  ResponseConverterfor a String response. | 
| static ResponseConverter<Void> | getVoid()Gets the void converter. | 
public static <T> ResponseConverter<T> getGenericObject(Type type, String property)
ResponseConverter for a generic class.T - the generic typetype - the typeproperty - the propertypublic static ResponseConverter<InputStream> getInputStream()
InputStream converter.public static <T extends GenericModel> ResponseConverter<T> getObject(Class<? extends T> type)
T - the generic typetype - the typepublic static ResponseConverter<String> getString()
ResponseConverter for a String response.public static ResponseConverter<Void> getVoid()
Copyright © 2015–2016 IBM Watson. All rights reserved.