String function ( ) { return "srini_string" + "srini_string" + NetUtils . getHostPortString ( nnHttpAddress ) + "srini_string" + "srini_string" ; }
creates an http 307 response with the redirect location set back to the test server 's address . http is supposed to terminate newlines with crlf , so we hard-code that instead of using the line separator property . concode_field_sep int TEST_TIMEOUT concode_elem_sep int SHORT_SOCKET_TIMEOUT concode_elem_sep URLConnectionFactory connectionFactory concode_elem_sep List<SocketChannel> clients concode_elem_sep Log LOG concode_elem_sep int CONNECTION_BACKLOG concode_elem_sep ServerSocket serverSocket concode_elem_sep Thread serverThread concode_elem_sep int CLIENTS_TO_CONSUME_BACKLOG concode_elem_sep WebHdfsFileSystem fs concode_elem_sep InetSocketAddress nnHttpAddress concode_elem_sep TimeoutSource timeoutSource concode_field_sep void testAuthUrlReadTimeout concode_elem_sep void testConnectTimeout concode_elem_sep void testTwoStepWriteConnectTimeout concode_elem_sep void testRedirectReadTimeout concode_elem_sep Collection<Object[]> data concode_elem_sep void testAuthUrlConnectTimeout concode_elem_sep void testRedirectConnectTimeout concode_elem_sep HttpURLConnection configure concode_elem_sep void tearDown concode_elem_sep void testReadTimeout concode_elem_sep void testTwoStepWriteReadTimeout concode_elem_sep void setUp concode_elem_sep void startSingleTemporaryRedirectResponseThread concode_elem_sep void consumeConnectionBacklog