Example usage for org.apache.http.osgi.services ProxyConfiguration getHostname

List of usage examples for org.apache.http.osgi.services ProxyConfiguration getHostname

Introduction

In this page you can find the example usage for org.apache.http.osgi.services ProxyConfiguration getHostname.

Prototype

String getHostname();

Source Link

Usage

From source file:org.apache.http.osgi.impl.OSGiCredentialsProvider.java

private boolean isSuitable(final ProxyConfiguration config, final AuthScope authScope) {
    return authScope.match(new AuthScope(config.getHostname(), config.getPort())) >= HOST_AND_PORT_MATCH;
}