|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HostConfiguration | |
---|---|
com.microsoft.tfs.core.config.httpclient | |
com.microsoft.tfs.core.httpclient | Classes and interfaces supporting the client side of the HTTP protocol. |
com.microsoft.tfs.core.httpclient.params | HttpClient preferences framework. |
Uses of HostConfiguration in com.microsoft.tfs.core.config.httpclient |
---|
Methods in com.microsoft.tfs.core.config.httpclient with parameters of type HostConfiguration | |
---|---|
void |
DefaultHTTPClientFactory.configureClientProxy(HttpClient httpClient,
HostConfiguration hostConfiguration,
HttpState httpState,
ConnectionInstanceData connectionInstanceData)
Called from HTTPClientFactory.newHTTPClient() to configure proxy settings for a
new HttpClient instance. |
void |
ConfigurableHTTPClientFactory.configureClientProxy(HttpClient httpClient,
HostConfiguration hostConfiguration,
HttpState httpState,
ConnectionInstanceData connectionInstanceData)
Called from HTTPClientFactory.newHTTPClient() to configure proxy settings for a
new HttpClient instance. |
Uses of HostConfiguration in com.microsoft.tfs.core.httpclient |
---|
Fields in com.microsoft.tfs.core.httpclient declared as HostConfiguration | |
---|---|
static HostConfiguration |
HostConfiguration.ANY_HOST_CONFIGURATION
A value to represent any host configuration, instead of using something like null . |
Methods in com.microsoft.tfs.core.httpclient that return HostConfiguration | |
---|---|
HostConfiguration |
ProxyClient.getHostConfiguration()
Returns the host configuration associated with
the ProxyClient. |
HostConfiguration |
HttpMethodBase.getHostConfiguration()
Deprecated. no longer applicable |
HostConfiguration |
HttpMethod.getHostConfiguration()
Deprecated. no longer applicable |
HostConfiguration |
HttpClient.getHostConfiguration()
Returns the host configuration associated with
the HttpClient. |
Methods in com.microsoft.tfs.core.httpclient with parameters of type HostConfiguration | |
---|---|
int |
HttpClient.executeMethod(HostConfiguration hostConfiguration,
HttpMethod method)
Executes the given HTTP method using custom
host configuration . |
int |
HttpClient.executeMethod(HostConfiguration hostconfig,
HttpMethod method,
HttpState state)
Executes the given HTTP method using the given custom
host configuration with the given custom
HTTP state . |
HttpConnection |
SimpleHttpConnectionManager.getConnection(HostConfiguration hostConfiguration)
|
HttpConnection |
MultiThreadedHttpConnectionManager.getConnection(HostConfiguration hostConfiguration)
|
HttpConnection |
HttpConnectionManager.getConnection(HostConfiguration hostConfiguration)
Gets an HttpConnection for a given host configuration. |
HttpConnection |
SimpleHttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long) |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long) |
HttpConnection |
HttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
Deprecated. Use #getConnectionWithTimeout(HostConfiguration, long) |
int |
MultiThreadedHttpConnectionManager.getConnectionsInPool(HostConfiguration hostConfiguration)
Gets the total number of pooled connections for the given host configuration. |
int |
MultiThreadedHttpConnectionManager.getConnectionsInUse(HostConfiguration hostConfiguration)
Deprecated. Use MultiThreadedHttpConnectionManager.getConnectionsInPool(HostConfiguration) |
HttpConnection |
SimpleHttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout)
This method always returns the same connection object. |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout)
Gets a connection or waits if one is not available. |
HttpConnection |
HttpConnectionManager.getConnectionWithTimeout(HostConfiguration hostConfiguration,
long timeout)
Gets an HttpConnection for a given host configuration. |
void |
ProxyClient.setHostConfiguration(HostConfiguration hostConfiguration)
Assigns the host configuration to use with the
ProxyClient. |
void |
HttpMethodBase.setHostConfiguration(HostConfiguration hostconfig)
Deprecated. no longer applicable |
void |
HttpClient.setHostConfiguration(HostConfiguration hostConfiguration)
Assigns the host configuration to use with the
HttpClient. |
Constructors in com.microsoft.tfs.core.httpclient with parameters of type HostConfiguration | |
---|---|
ConnectMethod(HostConfiguration targethost)
Create a connect method. |
|
HostConfiguration(HostConfiguration hostConfiguration)
Copy constructor for HostConfiguration |
|
HttpConnection(HostConfiguration hostConfiguration)
Creates a new HTTP connection for the given host configuration. |
Uses of HostConfiguration in com.microsoft.tfs.core.httpclient.params |
---|
Methods in com.microsoft.tfs.core.httpclient.params with parameters of type HostConfiguration | |
---|---|
int |
HttpConnectionManagerParams.getMaxConnectionsPerHost(HostConfiguration hostConfiguration)
Gets the maximum number of connections to be used for a particular host config. |
void |
HttpConnectionManagerParams.setMaxConnectionsPerHost(HostConfiguration hostConfiguration,
int maxHostConnections)
Sets the maximum number of connections to be used for the given host config. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |