Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getRedirectLocation (0.15 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  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());
            }
        }
    
        protected void processGetContent(final Object... objs) {
            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top