Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRedirectLocation (0.25 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())) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 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);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. 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)) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K 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)
    	})
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top