Class MultiGraphResponse<R>

java.lang.Object
com.targomo.client.api.response.DefaultResponse<R,R>
com.targomo.client.api.response.MultiGraphResponse<R>
Type Parameters:
R -
Direct Known Subclasses:
MultiGraphResponse.MultiGraphGeoJsonResponse, MultiGraphResponse.MultiGraphJsonResponse, MultiGraphResponse.MultiGraphTileHashResponse

public class MultiGraphResponse<R> extends DefaultResponse<R,R>
Since two options are available both can be used accordingly.

For Geojson

     MultiGraphResponse<FeatureCollection> response = ...
 
For json:
     MultiGraphResponse<MultiGraph> response = ...
 
Not implemented so far is a Response for MultiGraphSerializationFormat.MAPBOX_VECTOR_TILES since it is commonly not used by java clients.
  • Constructor Details

    • MultiGraphResponse

      public MultiGraphResponse()
  • Method Details