Class HttpClientDownloaderTest


  • public class HttpClientDownloaderTest
    extends Object
    Author:
    code4crafer@gmail.com
    • Constructor Detail

      • HttpClientDownloaderTest

        public HttpClientDownloaderTest()
    • Method Detail

      • testDownloader

        public void testDownloader()
      • test_download_fail

        public void test_download_fail()
      • testGetHtmlCharset

        public void testGetHtmlCharset()
                                throws Exception
        Throws:
        Exception
      • test_selectRequestMethod

        public void test_selectRequestMethod()
                                      throws Exception
        Throws:
        Exception
      • test_set_request_cookie

        public void test_set_request_cookie()
                                     throws Exception
        Throws:
        Exception
      • test_disableCookieManagement

        public void test_disableCookieManagement()
                                          throws Exception
        Throws:
        Exception
      • test_set_request_header

        public void test_set_request_header()
                                     throws Exception
        Throws:
        Exception
      • test_set_site_header

        public void test_set_site_header()
                                  throws Exception
        Throws:
        Exception
      • test_set_site_cookie

        public void test_set_site_cookie()
                                  throws Exception
        Throws:
        Exception
      • test_download_when_task_is_null

        public void test_download_when_task_is_null()
                                             throws Exception
        Throws:
        Exception
      • test_download_auth_by_SimpleProxyProvider

        public void test_download_auth_by_SimpleProxyProvider()
                                                       throws Exception
        Throws:
        Exception
      • test_download_binary_content

        public void test_download_binary_content()
                                          throws Exception
        Throws:
        Exception
      • test_download_set_charset

        public void test_download_set_charset()
                                       throws Exception
        Throws:
        Exception
      • test_download_set_request_charset

        public void test_download_set_request_charset()
                                               throws Exception
        Throws:
        Exception
      • test_no_task_download

        public void test_no_task_download()