Home | History | Annotate | Download | only in network

Lines Matching defs:connection

66         HttpURLConnection connection = builder.build();
67 assertEquals(8765, connection.getConnectTimeout());
84 HttpURLConnection connection = builder.build();
85 assertEquals(8765, connection.getReadTimeout());
92 HttpURLConnection connection = builder.build();
93 assertEquals("some-random-value", connection.getRequestProperty("some-random-key"));
99 HttpURLConnection connection = builder.build();
100 assertFalse(connection.getUseCaches());
106 HttpURLConnection connection = builder.build();
107 connection.setUseCaches(false);
108 assertFalse(connection.getUseCaches());
114 HttpURLConnection connection = builder.build();
115 connection.setUseCaches(true);
116 assertTrue(connection.getUseCaches());
123 HttpURLConnection connection = builder.build();
124 assertTrue(connection.getDoInput());
125 assertFalse(connection.getDoOutput());
132 HttpURLConnection connection = builder.build();
133 assertFalse(connection.getDoInput());
134 assertTrue(connection.getDoOutput());
141 HttpURLConnection connection = builder.build();
142 assertTrue(connection.getDoInput());
143 assertTrue(connection.getDoOutput());
150 HttpURLConnection connection = builder.build();
152 connection.getRequestProperty(HttpUrlConnectionBuilder.HTTP_HEADER_AUTHORIZATION));