Searched refs:conn (Results 1 – 5 of 5) sorted by relevance
41 conn = connection.SshConnection(self.settings)43 result = conn.run('echo "Hello World"')52 conn = connection.SshConnection(self.settings)54 result = conn.run('printenv', env={'MYSPECIALVAR': 20})65 conn = connection.SshConnection(bad_settings)66 result = conn.run('echo "Hello World"')76 conn = connection.SshConnection(bad_settings)77 result = conn.run('echo "Hello World"')
365 HttpURLConnection conn = createConnection(new URL(getUrl()), "POST", mContentType); in run() local367 outputStream = getConnectionOutputStream(conn); in run()372 inputStream = getConnectionInputStream(conn); in run()420 HttpURLConnection conn = createConnection(url, "GET", null); in getRemoteUrlStream() local423 int status = conn.getResponseCode(); in getRemoteUrlStream()432 String location = conn.getHeaderField("Location"); in getRemoteUrlStream()435 conn = createConnection(newURL, "GET", null); in getRemoteUrlStream()438 return conn.getInputStream(); in getRemoteUrlStream()444 InputStream getConnectionInputStream(HttpURLConnection conn) throws IOException { in getConnectionInputStream() argument445 return conn.getInputStream(); in getConnectionInputStream()[all …]
122 HttpURLConnection conn = helper.createJsonConnection( in postResults() local124 conn.setConnectTimeout(CONNECTION_TIMEOUT_MS); in postResults()125 conn.setReadTimeout(CONNECTION_TIMEOUT_MS); in postResults()126 outputStream = conn.getOutputStream(); in postResults()129 String response = StreamUtil.getStringFromStream(conn.getInputStream()).trim(); in postResults()130 int responseCode = conn.getResponseCode(); in postResults()
243 InputStream getConnectionInputStream(HttpURLConnection conn) { in testDoPostWithRetry_datasize()358 InputStream getConnectionInputStream(HttpURLConnection conn) throws IOException { in getConnectionInputStream() argument366 OutputStream getConnectionOutputStream(HttpURLConnection conn) throws IOException { in getConnectionOutputStream() argument
... contentLength long progressCounter long numDownloaded java.net.URLConnection conn java.net.URI address java.io. ...