public class Session extends Object
| Constructor and Description |
|---|
Session() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias() |
Authentication |
getAuthentication() |
org.apache.http.client.HttpClient |
getClient() |
org.apache.http.client.protocol.HttpClientContext |
getContext() |
Map<String,String> |
getHeaders() |
HostnameVerifier |
getHostnameVerifier()
Get the hostnameVerifier.
|
org.apache.http.HttpHost |
getHttpHost() |
String |
getPassword()
Get the password.
|
Proxy |
getProxy() |
org.apache.http.HttpResponse |
getResponse() |
String |
getResponseBody() |
ResponseData |
getResponseData() |
org.apache.http.conn.ssl.TrustStrategy |
getTrustStrategy()
Get the trustStrategy.
|
String |
getUrl() |
String |
getVerify() |
void |
setAlias(String alias) |
void |
setAuthentication(Authentication authentication) |
void |
setClient(org.apache.http.client.HttpClient client) |
void |
setContext(org.apache.http.client.protocol.HttpClientContext context) |
void |
setHeaders(Map<String,String> headers) |
void |
setHostnameVerifier(HostnameVerifier hostnameVerifier)
Set the hostnameVerifier.
|
void |
setHttpHost(org.apache.http.HttpHost httpHost) |
void |
setPassword(String password)
Set the password.
|
void |
setProxy(Proxy proxy) |
void |
setResponse(org.apache.http.HttpResponse response) |
void |
setTrustStrategy(org.apache.http.conn.ssl.TrustStrategy trustStrategy)
Set the trustStrategy.
|
void |
setUrl(String url) |
void |
setVerify(String verify) |
public String getAlias()
public void setAlias(String alias)
public org.apache.http.client.protocol.HttpClientContext getContext()
public void setContext(org.apache.http.client.protocol.HttpClientContext context)
public org.apache.http.client.HttpClient getClient()
public void setClient(org.apache.http.client.HttpClient client)
public org.apache.http.HttpResponse getResponse()
public void setResponse(org.apache.http.HttpResponse response)
public String getResponseBody()
public String getUrl()
public void setUrl(String url)
public Authentication getAuthentication()
public void setAuthentication(Authentication authentication)
public org.apache.http.HttpHost getHttpHost()
public void setHttpHost(org.apache.http.HttpHost httpHost)
public ResponseData getResponseData()
public String getVerify()
public void setVerify(String verify)
public HostnameVerifier getHostnameVerifier()
public void setHostnameVerifier(HostnameVerifier hostnameVerifier)
hostnameVerifier - the hostnameVerifier to setpublic org.apache.http.conn.ssl.TrustStrategy getTrustStrategy()
public void setTrustStrategy(org.apache.http.conn.ssl.TrustStrategy trustStrategy)
trustStrategy - the trustStrategy to setpublic String getPassword()
public void setPassword(String password)
password - the password to setpublic Proxy getProxy()
public void setProxy(Proxy proxy)
Copyright © 2022. All rights reserved.