com.targomo.client.api.response.MultiGraphResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java client library for easy usage of Targomo web services.
The newest version!
package com.targomo.client.api.response;
import com.targomo.client.api.pojo.MultiGraph;
import org.wololo.geojson.FeatureCollection;
import java.util.List;
/**
* Since two options are available both can be used accordingly.
* For Geojson
*
* MultiGraphResponse{@literal <}FeatureCollection{@literal >} response = ...
*
* For json:
*
* MultiGraphResponse{@literal <}MultiGraph{@literal >} response = ...
*
*
* Not implemented so far is a Response for {@link com.targomo.client.api.enums.MultiGraphSerializationFormat#MAPBOX_VECTOR_TILES}
* since it is commonly not used by java clients.
* @param
*/
public class MultiGraphResponse extends DefaultResponse {
@Override
protected R parseData(R jacksonData) {
return jacksonData;
}
////////////////////////////////////// Response Classes ///////////////////////////////////////////////
public static class MultiGraphJsonResponse extends MultiGraphResponse {}
public static class MultiGraphTileHashResponse extends MultiGraphResponse> {}
public static class MultiGraphGeoJsonResponse extends MultiGraphResponse {}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy