Lines Matching defs:connection
203 final HttpURLConnection connection = (HttpURLConnection) mUrl.openConnection();
204 connection.setConnectTimeout(mConnectTimeoutMillis);
205 connection.setReadTimeout(mReadTimeoutMillis);
206 connection.setUseCaches(mUseCache);
209 connection.setDoInput(true);
210 connection.setDoOutput(false);
213 connection.setDoInput(false);
214 connection.setDoOutput(true);
217 connection.setDoInput(true);
218 connection.setDoOutput(true);
222 connection.addRequestProperty(entry.getKey(), entry.getValue());
225 connection.setFixedLengthStreamingMode(mContentLength);
227 return connection;