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 Var
get(ServiceGetRequest request)
Map<String,String>
getHeaders(ServiceGetRequest request)
String
getName()
boolean
isLocalOnly()
static String
trim(String input)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getName
in interfaceOpenDSLService
-
isLocalOnly
public boolean isLocalOnly()- Specified by:
isLocalOnly
in interfaceOpenDSLService
-
get
- Specified by:
get
in interfaceOpenDSLService
-
trim
-
getHeaders
-