use of org.apache.http.conn.OperatedClientConnection in project XobotOS by xamarin.
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 XobotOS by xamarin.
the class AbstractClientConnAdapter method getLocalPort.
// non-javadoc, see interface HttpInetConnection
public int getLocalPort() {
OperatedClientConnection conn = getWrappedConnection();
assertValid(conn);
return conn.getLocalPort();
}
use of org.apache.http.conn.OperatedClientConnection in project XobotOS by xamarin.
the class AbstractClientConnAdapter method getRemoteAddress.
// non-javadoc, see interface HttpInetConnection
public InetAddress getRemoteAddress() {
OperatedClientConnection conn = getWrappedConnection();
assertValid(conn);
return conn.getRemoteAddress();
}
use of org.apache.http.conn.OperatedClientConnection in project XobotOS by xamarin.
the class AbstractClientConnAdapter method setSocketTimeout.
// non-javadoc, see interface HttpConnection
public void setSocketTimeout(int timeout) {
OperatedClientConnection conn = getWrappedConnection();
assertValid(conn);
conn.setSocketTimeout(timeout);
}
use of org.apache.http.conn.OperatedClientConnection in project XobotOS by xamarin.
the class AbstractClientConnAdapter method receiveResponseEntity.
// non-javadoc, see interface HttpClientConnection
public void receiveResponseEntity(HttpResponse response) throws HttpException, IOException {
assertNotAborted();
OperatedClientConnection conn = getWrappedConnection();
assertValid(conn);
unmarkReusable();
conn.receiveResponseEntity(response);
}
Aggregations