Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getRedirectLocation (0.06 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    try (final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(u).build())) {
                        if (StringUtil.isNotBlank(responseData.getRedirectLocation())) {
                            u = responseData.getRedirectLocation();
                            continue;
                        }
                        if (StringUtil.isBlank(responseData.getUrl())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                if (responseData.getRedirectLocation() != null) {
                    final Set<RequestData> childUrlList = new HashSet<>();
                    childUrlList.add(RequestDataBuilder.newRequestData().get().url(responseData.getRedirectLocation()).build());
                    throw new ChildUrlsException(childUrlList, this.getClass().getName() + "#RedirectedFrom:" + url);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            try (final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(url).build())) {
                if (responseData.getRedirectLocation() != null) {
                    return responseData.getRedirectLocation();
                }
                responseData.setExecutionTime(systemHelper.getCurrentTimeAsLong() - startTime);
                if (dataMap.containsKey(Constants.SESSION_ID)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  7. 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