Class DataRequestExecutor
java.lang.Object
org.heigit.ohsome.ohsomeapi.executor.RequestExecutor
org.heigit.ohsome.ohsomeapi.executor.DataRequestExecutor
Holds executor methods for the following endpoints: /elementsFullHistory, /contributions.
-
Field Summary
Fields inherited from class org.heigit.ohsome.ohsomeapi.executor.RequestExecutor
ATTRIBUTION, df, servletRequest, servletResponse, TEXT, URL
-
Constructor Summary
ConstructorDescriptionDataRequestExecutor
(RequestResource requestResource, ElementsGeometry elementsGeometry, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse) -
Method Summary
Modifier and TypeMethodDescriptionvoid
extract()
Performs an OSM data extraction using the full-history of the data.
-
Constructor Details
-
DataRequestExecutor
public DataRequestExecutor(RequestResource requestResource, ElementsGeometry elementsGeometry, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
-
-
Method Details
-
extract
Performs an OSM data extraction using the full-history of the data.- Throws:
Exception
- thrown by#processParameters() processParameters
,#parseIsoDateTime(String) parseIsoDateTime
,stream
, or#streamResponse(HttpServletResponse, ExtractionResponse, Stream) streamElementsResponse
-