Search in sources :

Example 36 with OperatedClientConnection

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

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 37 with OperatedClientConnection

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

the class AbstractClientConnAdapter method getSocketTimeout.

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

Example 38 with OperatedClientConnection

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

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 39 with OperatedClientConnection

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

the class AbstractClientConnAdapter method isSecure.

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

Example 40 with OperatedClientConnection

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

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