Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for orElseThrow (0.05 sec)

  1. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                            "Failed to process metadata.", e);
                }
            })
                    .orElseThrow(() -> new SsoMessageException(
                            messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, "Invalid state."),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (3)
  2. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

         */
        public String getServerPath() {
            return getSessionManager().getAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, String.class)
                    .map(token -> ADMIN_SERVER + token)
                    .orElseThrow(() -> new FessSystemException("Cannot create an access token."));
        }
    
        /**
         * Generates and saves a new access token for the current session.
         * The token is used to authenticate API requests.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. docs/smb3-features/03-multi-channel-design.md

        }
        
        private ChannelInfo selectLeastLoaded(Collection<ChannelInfo> channels) {
            return channels.stream()
                .min(Comparator.comparingLong(ChannelInfo::getRequestsPending))
                .orElseThrow();
        }
        
        private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
            // Calculate total weight
            int totalWeight = channels.stream()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top