Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildRedirectLocation (0.3 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            }
        }
    
        public void test_buildRedirectLocation() throws Exception {
            assertEquals("http://localhost/login.html", HcHttpClient.buildRedirectLocation("http://localhost/", "/login.html"));
        }
    
        // public void test_doGet_mt() throws Exception {
        // ExecutorService executorService = Executors.newFixedThreadPool(1);
        //
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    if (locationHeader != null) {
                        final String redirectLocation;
                        if (locationHeader.getValue().startsWith("/")) {
                            redirectLocation = buildRedirectLocation(url, locationHeader.getValue());
                        } else {
                            redirectLocation = locationHeader.getValue();
                        }
                        responseData = new ResponseData();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top