public class OverpassRequest extends Object
HttpMethod POST.| Constructor and Description |
|---|
OverpassRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use a custom client implementation with specified options and method
|
OverpassRequest(TravelOptions travelOptions)
Use default client implementation with specified options and method
Default client uses
ClientBuilder. |
| Modifier and Type | Method and Description |
|---|---|
OverpassResponse |
get()
Execute request
|
static void |
main(String[] args) |
public OverpassRequest(TravelOptions travelOptions)
ClientBuilder.travelOptions - Options to be usedpublic OverpassRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
client - Client implementation to be usedtravelOptions - Options to be usedpublic static void main(String[] args) throws Route360ClientException
Route360ClientExceptionpublic OverpassResponse get() throws Route360ClientException
Route360ClientException - In case of error other than Gateway TimeoutCopyright © 2017. All rights reserved.