| Package | Description |
|---|---|
| org.hisrc.dbeac.client.v_1_0.api | |
| org.hisrc.dbeac.client.v_1_0.invoker |
| Modifier and Type | Method and Description |
|---|---|
List<Facility> |
DefaultApi.findFacilities(List<String> type,
List<String> state)
Access to the facilities known to the system
|
Station |
DefaultApi.findStationByStationNumber(Long stationnumber)
Returns the railway station identified by stationnumber
|
Facility |
DefaultApi.getFacilityByEquipmentNumber(Long equipmentnumber)
Returns the facility identify by equipmentnumber
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ApiClient.deserialize(com.sun.jersey.api.client.ClientResponse response,
TypeRef returnType)
Deserialize response body to Java object according to the Content-Type.
|
<T> T |
JSON.deserialize(String body,
TypeRef returnType)
Deserialize the given JSON string to Java object.
|
<T> T |
ApiClient.invokeAPI(String path,
String method,
List<Pair> queryParams,
Object body,
byte[] binaryBody,
Map<String,String> headerParams,
Map<String,Object> formParams,
String accept,
String contentType,
String[] authNames,
TypeRef returnType)
Invoke API by sending HTTP request with the given options.
|
byte[] |
ApiClient.invokeBinaryAPI(String path,
String method,
List<Pair> queryParams,
Object body,
byte[] binaryBody,
Map<String,String> headerParams,
Map<String,Object> formParams,
String accept,
String contentType,
String[] authNames)
Invoke API by sending HTTP request with the given options - return binary result
|
String |
JSON.serialize(Object obj)
Serialize the given Java object into JSON string.
|
String |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into string according the given
Content-Type (only JSON is supported for now).
|
Copyright © 2015. All Rights Reserved.