Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 186 for orElse (0.07 sec)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                            });
    
                            writeJsonResponse(HttpServletResponse.SC_CREATED, escapeJsonKeyValue(RESULT_FIELD, "created"));
    
                        }).orElse(() -> {
                            throw new WebApiException(HttpServletResponse.SC_NOT_FOUND, "Not found: " + docId);
                        });
    
            } catch (final WebApiException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            // are most dominant.
            // ----------------------------------------------------------------------
    
            Map<String, String> userSpecifiedProperties =
                    context.options.userProperties().orElse(new HashMap<>());
    
            // ----------------------------------------------------------------------
            // Load config files
            // ----------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                        // could not parse expression
                        return null;
                }
            }
    
            if (value instanceof Optional) {
                value = ((Optional<?>) value).orElse(null);
            }
            return value;
        }
    
        private static Object getMappedValue(
                final String expression, final int from, final int to, final Object value, final String key)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                    return Constants.SEARCH_PREFERENCE_LOCAL;
                }
                return user.getUserId();
            }).ifPresent(p -> searchRequestBuilder.setPreference(p)).orElse(() -> LaRequestUtil.getOptionalRequest().map(r -> {
                final HttpSession session = r.getSession(false);
                if (session != null) {
                    return session.getId();
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                        }
                    }
                }
    
                return new ActionResponseCredential(() -> HtmlResponse.fromRedirectPathAsIs(getAuthUrl(request)));
            }).orElse(null);
        }
    
        protected String getAuthUrl(final HttpServletRequest request) {
            final String state = UuidUtil.create();
            request.getSession().setAttribute(OIC_STATE, state);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            private Relocation getRelocation(Artifact artifact) {
                return relocations.stream()
                        .filter(r -> r.predicate.test(artifact))
                        .findFirst()
                        .orElse(null);
            }
        }
    
        private Relocations parseRelocations(RepositorySystemSession session) {
            String relocationsEntries = (String) session.getConfigProperties().get(CONFIG_PROP_RELOCATIONS_ENTRIES);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/bsbhv/BsClickLogBhv.java

        public ClickLogCB newConditionBean() {
            return new ClickLogCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public ClickLog selectEntityWithDeletedCheck(CBCall<ClickLogCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/bsbhv/BsGroupBhv.java

        @Override
        public GroupCB newConditionBean() {
            return new GroupCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public Group selectEntityWithDeletedCheck(CBCall<GroupCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsAccessTokenBhv.java

        public AccessTokenCB newConditionBean() {
            return new AccessTokenCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public AccessToken selectEntityWithDeletedCheck(CBCall<AccessTokenCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDuplicateHostBhv.java

        public DuplicateHostCB newConditionBean() {
            return new DuplicateHostCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public DuplicateHost selectEntityWithDeletedCheck(CBCall<DuplicateHostCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top