Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRedirectLocation (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                                responseData.setParentUrl(urlQueue.getParentUrl());
                                responseData.setSessionId(crawlerContext.sessionId);
    
                                if (responseData.getRedirectLocation() == null) {
                                    log(logHelper, LogType.PROCESS_RESPONSE, crawlerContext, urlQueue, responseData);
                                    processResponse(urlQueue, responseData);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    		// Re-direction is handled specifically for browser requests.
    		if !guessIsHealthCheckReq(r) && guessIsBrowserReq(r) && read && globalBrowserRedirect {
    			// Fetch the redirect location if any.
    			if u := getRedirectLocation(r); u != nil {
    				// Employ a temporary re-direct.
    				http.Redirect(w, r, u.String(), http.StatusTemporaryRedirect)
    				return
    			}
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

            final ResponseData responseData = (ResponseData) objs[2];
            if (logger.isInfoEnabled()) {
                logger.info("Redirect to URL: {}", responseData.getRedirectLocation());
            }
        }
    
        /**
         * Processes get content log events.
         *
         * @param objs the log objects (should contain UrlQueue)
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        /**
         * Gets the redirect location if the response is a redirect.
         *
         * @return the redirect location URL, or null if not a redirect
         */
        public String getRedirectLocation() {
            return redirectLocation;
        }
    
        /**
         * Sets the redirect location if the response is a redirect.
         *
         * @param redirectLocation the redirect location URL to set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top