org.jboss.aerogear.android.impl.pipeline
Class GsonResponseParser<T>
java.lang.Object
org.jboss.aerogear.android.impl.pipeline.GsonResponseParser<T>
- All Implemented Interfaces:
- ResponseParser<T>
public class GsonResponseParser<T>
- extends Object
- implements ResponseParser<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GsonResponseParser
public GsonResponseParser()
GsonResponseParser
public GsonResponseParser(com.google.gson.Gson gson)
handleResponse
public T handleResponse(String response,
Class<T> responseType)
- Specified by:
handleResponse in interface ResponseParser<T>
handleArrayResponse
public T[] handleArrayResponse(String response,
Class<T[]> responseType)
- Specified by:
handleArrayResponse in interface ResponseParser<T>
getGson
@Deprecated
public com.google.gson.Gson getGson()
- Deprecated. This method exists to support another deprecated method while we transition off of it.
PipeConfig.setGsonBuilder(com.google.gson.GsonBuilder)
setGson
@Deprecated
public void setGson(com.google.gson.Gson gson)
- Deprecated. This method exists to support another deprecated method while we transition off of it.
PipeConfig.setGsonBuilder(com.google.gson.GsonBuilder)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.