Module com.logicommerce.sdktest
Class ConnectionAttributes
- java.lang.Object
-
- com.logicommerce.sdktest.resources.ConnectionAttributes
-
public class ConnectionAttributes extends Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAcceptType()StringgetAuthorization()StringgetBody()StringgetContentType()StringgetCookies()StringgetEndPoint()Map<String,String>getHeaders()StringgetMethod()StringgetParams()StringgetPath()IntegergetTimeout()protected URLgetUrl()protected booleanhasAuthorization()protected booleanhasBody()protected booleanisSSLConnection()voidsetAcceptType(String acceptType)voidsetAuthorization(String authorization)voidsetBody(String body)voidsetContentType(String contentType)voidsetCookie(String name, String value)voidsetEndPoint(String endPoint)voidsetHeader(String name, String value)voidsetMethod(String method)voidsetParams(String params)voidsetPath(String path)voidsetQueryParam(String name, String value)voidsetTimeout(Integer timeout)
-
-
-
Method Detail
-
hasAuthorization
protected boolean hasAuthorization()
-
getUrl
protected URL getUrl() throws MalformedURLException
- Throws:
MalformedURLException
-
isSSLConnection
protected boolean isSSLConnection()
-
hasBody
protected boolean hasBody()
-
getAuthorization
public String getAuthorization()
-
setAuthorization
public void setAuthorization(String authorization)
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
getAcceptType
public String getAcceptType()
-
setAcceptType
public void setAcceptType(String acceptType)
-
getCookies
public String getCookies()
-
getEndPoint
public String getEndPoint()
-
setEndPoint
public void setEndPoint(String endPoint)
-
getMethod
public String getMethod()
-
setMethod
public void setMethod(String method)
-
getParams
public String getParams()
-
setParams
public void setParams(String params)
-
getBody
public String getBody()
-
setBody
public void setBody(String body)
-
getTimeout
public Integer getTimeout()
-
setTimeout
public void setTimeout(Integer timeout)
-
-