public class TimeRequest extends Object
HttpMethod POST.| Constructor and Description |
|---|
TimeRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use a custom client implementation with specified options and method
|
TimeRequest(TravelOptions travelOptions)
Use default client implementation with specified options and method
Default client uses
ClientBuilder. |
public TimeRequest(TravelOptions travelOptions)
ClientBuilder.travelOptions - Options to be usedpublic TimeRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
client - Client implementation to be usedtravelOptions - Options to be usedpublic TimeResponse get() throws Route360ClientException, javax.ws.rs.ProcessingException
Route360ClientException - In case of error other than Gateway Timeoutjavax.ws.rs.ProcessingExceptionCopyright © 2017. All rights reserved.