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

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

Introduction

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

Prototype

int getPort();

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;
}