Package com.walkfares.odsl.service
Class JSONService
java.lang.Object
com.walkfares.odsl.service.JSONService
- All Implemented Interfaces:
OpenDSLService
public class JSONService extends Object implements OpenDSLService
-
Field Summary
Fields inherited from interface com.walkfares.odsl.service.OpenDSLService
ACCESSKEY, BASE64_REQUEST_BODY, COLUMN_COUNT, DATA_POS, HEADER_POS, OUTPUT, REQUEST_BODY, ROW_COUNT, SECRETKEY, SELECTOR, SEPARATOR, TABLE, XSLT -
Constructor Summary
Constructors Constructor Description JSONService() -
Method Summary
Modifier and Type Method Description Varget(ServiceGetRequest request)Map<String,String>getHeaders(ServiceGetRequest request)StringgetName()booleanisLocalOnly()static Stringtrim(String input)Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.walkfares.odsl.service.OpenDSLService
delete, get, getIDSource, getList, getListSource, initialise, rename, run, save, tag
-
Constructor Details
-
JSONService
public JSONService()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceOpenDSLService
-
isLocalOnly
public boolean isLocalOnly()- Specified by:
isLocalOnlyin interfaceOpenDSLService
-
get
- Specified by:
getin interfaceOpenDSLService
-
trim
-
getHeaders
-