Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildRedirectLocation (0.13 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: Sun Nov 10 03:50:12 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top