Search in sources :

Example 21 with OperatedClientConnection

use of org.apache.http.conn.OperatedClientConnection in project jmeter by apache.

the class ManagedClientConnectionImpl method flush.

@Override
public void flush() throws IOException {
    final OperatedClientConnection conn = ensureConnection();
    conn.flush();
}
Also used : OperatedClientConnection(org.apache.http.conn.OperatedClientConnection)

Example 22 with OperatedClientConnection

use of org.apache.http.conn.OperatedClientConnection in project XobotOS by xamarin.

the class AbstractClientConnAdapter method getRemotePort.

// non-javadoc, see interface HttpInetConnection
public int getRemotePort() {
    OperatedClientConnection conn = getWrappedConnection();
    assertValid(conn);
    return conn.getRemotePort();
}
Also used : OperatedClientConnection(org.apache.http.conn.OperatedClientConnection)

Example 23 with OperatedClientConnection

use of org.apache.http.conn.OperatedClientConnection in project XobotOS by xamarin.

the class AbstractClientConnAdapter method getLocalAddress.

// non-javadoc, see interface HttpInetConnection
public InetAddress getLocalAddress() {
    OperatedClientConnection conn = getWrappedConnection();
    assertValid(conn);
    return conn.getLocalAddress();
}
Also used : OperatedClientConnection(org.apache.http.conn.OperatedClientConnection)

Example 24 with OperatedClientConnection

use of org.apache.http.conn.OperatedClientConnection in project XobotOS by xamarin.

the class AbstractClientConnAdapter method flush.

// non-javadoc, see interface HttpClientConnection
public void flush() throws IOException {
    assertNotAborted();
    OperatedClientConnection conn = getWrappedConnection();
    assertValid(conn);
    conn.flush();
}
Also used : OperatedClientConnection(org.apache.http.conn.OperatedClientConnection)

Example 25 with OperatedClientConnection

use of org.apache.http.conn.OperatedClientConnection in project XobotOS by xamarin.

the class AbstractClientConnAdapter method isResponseAvailable.

// non-javadoc, see interface HttpClientConnection
public boolean isResponseAvailable(int timeout) throws IOException {
    assertNotAborted();
    OperatedClientConnection conn = getWrappedConnection();
    assertValid(conn);
    return conn.isResponseAvailable(timeout);
}
Also used : OperatedClientConnection(org.apache.http.conn.OperatedClientConnection)

Aggregations

OperatedClientConnection (org.apache.http.conn.OperatedClientConnection)61 InterruptedIOException (java.io.InterruptedIOException)5 IOException (java.io.IOException)4 Socket (java.net.Socket)4 SSLSession (javax.net.ssl.SSLSession)4 SSLSocket (javax.net.ssl.SSLSocket)4 RouteTracker (org.apache.http.conn.routing.RouteTracker)4 ConnectionShutdownException (org.apache.http.impl.conn.ConnectionShutdownException)4 HttpHost (org.apache.http.HttpHost)3