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

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

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