All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.targomo.client.api.response.MultiGraphResponse Maven / Gradle / Ivy

There is a newer version: 0.39.0
Show newest version
package com.targomo.client.api.response;

import com.targomo.client.api.pojo.MultiGraph;
import org.wololo.geojson.FeatureCollection;

import java.util.List;
import java.util.Map;

/**
 * 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 {} public static class MultiGraphH3JsonResponse extends MultiGraphResponse>> {} }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy