Package com.cloudtestapi.common
Class AbstractRequest
- java.lang.Object
-
- com.cloudtestapi.common.AbstractRequest
-
- Direct Known Subclasses:
AbstractRequestWithoutSpecificBodyGenerator,AbstractUploadRequest,ResignDeviceIPARequest,StartAutomationTestRequest,StartCompatibilityTestRequest,StartFunctionalTestRequest,UploadWTRequest
public abstract class AbstractRequest extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractRequest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetHttpMethod()protected StringgetPath()protected StringgetVersion()voidsetHttpMethod(String httpMethod)protected voidsetPath(String path)protected voidsetVersion(String version)protected abstract byte[]toBody()protected abstract voidtoPathParamMap(HashMap<String,String> map, String prefix)protected abstract voidtoQueryParamMap(HashMap<String,Object> map, String prefix)protected voidwithApiInfo(String version, String path)
-
-
-
Method Detail
-
toBody
protected abstract byte[] toBody()
-
toQueryParamMap
protected abstract void toQueryParamMap(HashMap<String,Object> map, String prefix)
-
getPath
protected String getPath()
-
setPath
protected void setPath(String path)
-
getVersion
protected String getVersion()
-
setVersion
protected void setVersion(String version)
-
getHttpMethod
public String getHttpMethod()
-
setHttpMethod
public void setHttpMethod(String httpMethod)
-
-