public final class NominatimResponseHandler<T> extends Object implements org.apache.http.client.ResponseHandler<T>
| Constructor and Description |
|---|
NominatimResponseHandler(com.google.gson.Gson gsonInstance,
Type responseType)
Constructor.
|
public NominatimResponseHandler(com.google.gson.Gson gsonInstance,
Type responseType)
gsonInstance - the Gson instanceresponseType - the expected type of objectspublic T handleResponse(org.apache.http.HttpResponse response) throws IOException
handleResponse in interface org.apache.http.client.ResponseHandler<T>IOExceptionResponseHandler.handleResponse(org.apache.http.HttpResponse)Copyright © 2010-2017 Dudie. All Rights Reserved.