global.maplink.geocode.schema.GeocodeServiceRequest Maven / Gradle / Ivy
The newest version!
package global.maplink.geocode.schema;
import global.maplink.MapLinkServiceRequest;
import global.maplink.geocode.schema.suggestions.SuggestionsResult;
import global.maplink.http.Response;
import global.maplink.json.JsonMapper;
import java.util.function.Function;
public interface GeocodeServiceRequest extends MapLinkServiceRequest {
@Override
default Function getResponseParser(JsonMapper mapper) {
return r -> r.parseBodyObject(mapper, SuggestionsResult.class);
}
}