Package com.walkfares.odsl.service
Class ServiceGetRequest
java.lang.Object
com.walkfares.odsl.service.ServiceRequest
com.walkfares.odsl.service.ServiceGetRequest
public class ServiceGetRequest extends ServiceRequest
-
Constructor Summary
Constructors Constructor Description ServiceGetRequest()
-
Method Summary
Modifier and Type Method Description static ServiceGetRequest
GET(OpenDSLContext context, String id)
String
getAccept()
byte[]
getContent()
String
getId()
String
getRange()
String
getSource()
Var
getVar()
String
getVersionOrTag()
boolean
isThrowErrorNotFound()
ServiceGetRequest
setAccept(String accept)
ServiceGetRequest
setContent(byte[] content)
ServiceGetRequest
setContext(OpenDSLContext context)
ServiceGetRequest
setId(String id)
ServiceGetRequest
setOptions(String[] options)
ServiceGetRequest
setOptions(List<String> options)
ServiceGetRequest
setRange(String range)
ServiceGetRequest
setSource(String source)
ServiceGetRequest
setThrowErrorNotFound(boolean throwErrorNotFound)
ServiceGetRequest
setVar(Var var)
ServiceGetRequest
setVersionOrTag(String versionOrTag)
Methods inherited from class com.walkfares.odsl.service.ServiceRequest
getContext, getKeyOptions, getOptions, getOptionsArray
-
Constructor Details
-
ServiceGetRequest
public ServiceGetRequest()
-
-
Method Details
-
GET
-
setContext
- Overrides:
setContext
in classServiceRequest
-
setOptions
- Overrides:
setOptions
in classServiceRequest
-
setOptions
- Overrides:
setOptions
in classServiceRequest
-
getSource
-
setSource
-
getId
-
setId
-
getVersionOrTag
-
setVersionOrTag
-
getVar
-
setVar
-
isThrowErrorNotFound
public boolean isThrowErrorNotFound() -
setThrowErrorNotFound
-
getRange
-
setRange
-
getAccept
-
setAccept
-
getContent
public byte[] getContent() -
setContent
-