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();
}
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();
}
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();
}
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();
}
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);
}
Aggregations