use of org.apache.http.conn.OperatedClientConnection in project robovm by robovm.
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 platform_external_apache-http by android.
the class AbstractClientConnAdapter method sendRequestHeader.
// non-javadoc, see interface HttpClientConnection
public void sendRequestHeader(HttpRequest request) throws HttpException, IOException {
assertNotAborted();
OperatedClientConnection conn = getWrappedConnection();
assertValid(conn);
unmarkReusable();
conn.sendRequestHeader(request);
}
use of org.apache.http.conn.OperatedClientConnection in project platform_external_apache-http by android.
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 platform_external_apache-http by android.
the class AbstractClientConnAdapter method sendRequestEntity.
// non-javadoc, see interface HttpClientConnection
public void sendRequestEntity(HttpEntityEnclosingRequest request) throws HttpException, IOException {
assertNotAborted();
OperatedClientConnection conn = getWrappedConnection();
assertValid(conn);
unmarkReusable();
conn.sendRequestEntity(request);
}
use of org.apache.http.conn.OperatedClientConnection in project platform_external_apache-http by android.
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