public class Service
extends java.lang.Object
A test or ongoing interactive session with a specific web service will have a unique service Id and all information associated with that interactive service session will be retained here.
Constructor and Description |
---|
Service(java.lang.String serviceId)
Constructor
|
Service(java.lang.String serviceId,
java.lang.String baseURL)
Constructor
|
Service(java.lang.String serviceId,
java.lang.String baseURL,
java.lang.String protocolVersion)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Auth |
getAuth() |
java.lang.String |
getAuthType() |
java.lang.String |
getBaseURL() |
(package private) java.lang.Object |
getClientAdapter() |
(package private) java.lang.String |
getClientAdapterClassName() |
java.lang.String |
getPassword() |
java.lang.String |
getProtocolVersion() |
(package private) org.apache.hc.core5.http.ProtocolVersion |
getProtocolVersionObject() |
java.lang.String |
getProxyServerURL() |
java.lang.String |
getServiceId() |
java.lang.String |
getUserId() |
void |
setAuth(Auth auth) |
void |
setAuthType(java.lang.String authType) |
void |
setBaseURL(java.lang.String baseURL) |
java.lang.Object |
setClientAdapterClassName(java.lang.String clientAdapterClassName)
To specify the use of a different client adapter, call this
with the class name of the adapter.
|
void |
setPassword(java.lang.String password) |
void |
setProtocolVersion(java.lang.String protocolVersion) |
void |
setProxyServerURL(java.lang.String proxyServerURL) |
void |
setServiceId(java.lang.String serviceId) |
void |
setUserId(java.lang.String userId) |
public Service(java.lang.String serviceId)
serviceId
- public Service(java.lang.String serviceId, java.lang.String baseURL)
serviceId
- baseURL
- public Service(java.lang.String serviceId, java.lang.String baseURL, java.lang.String protocolVersion)
serviceId
- baseURL
- protocolVersion
- public java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
serviceId
- the serviceId to setpublic java.lang.String getProxyServerURL()
public void setProxyServerURL(java.lang.String proxyServerURL)
baseURL
- the baseURL to setpublic java.lang.String getBaseURL()
public void setBaseURL(java.lang.String baseURL)
baseURL
- the baseURL to setpublic java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId
- the userId to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the password to setpublic java.lang.String getAuthType()
public void setAuthType(java.lang.String authType)
authType
- the authType to setpublic java.lang.String getProtocolVersion()
public void setProtocolVersion(java.lang.String protocolVersion)
protocolVersion
- the protocol version to setorg.apache.hc.core5.http.ProtocolVersion getProtocolVersionObject()
public Auth getAuth()
public void setAuth(Auth auth)
public java.lang.Object setClientAdapterClassName(java.lang.String clientAdapterClassName) throws java.lang.Exception
clientAdapterClassName
- the class name of the client adapterjava.lang.Exception
java.lang.String getClientAdapterClassName()
java.lang.Object getClientAdapter() throws java.lang.Exception
java.lang.Exception
Copyright © SAS Institute. All Rights Reserved.