Example usage for org.apache.http.conn.routing HttpRoute getLocalAddress

List of usage examples for org.apache.http.conn.routing HttpRoute getLocalAddress

Introduction

In this page you can find the example usage for org.apache.http.conn.routing HttpRoute getLocalAddress.

Prototype

public final InetAddress getLocalAddress() 

Source Link

Usage

From source file:org.apache.http.impl.nio.conn.HttpNIOConnPool.java

@Override
protected SocketAddress resolveLocalAddress(final HttpRoute route) {
    return new InetSocketAddress(route.getLocalAddress(), 0);
}