Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getApiJsonResponseExceptionIncluded (0.16 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

                @Override
                public String getApiJsonResponseExceptionIncluded() {
                    return "false";
                }
            });
    
            FessConfig config = ComponentUtil.getFessConfig();
            assertEquals("false", config.getApiJsonResponseExceptionIncluded());
        }
    
        // Test error code generation
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            } catch (final WebApiException e) {
                final int statusCode = e.getStatusCode();
                String message;
                if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                    if (statusCode >= 400 && statusCode < 500) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Failed to access Web API.", e);
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    }
                }
                return buf.toString();
            };
            final String message;
            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                message = escapeJsonKeyValue(MESSAGE_FIELD, stacktraceString.get());
            } else {
                final String errorCode = UUID.randomUUID().toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * comment: Whether to include exceptions in API JSON response.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getApiJsonResponseExceptionIncluded();
    
        /**
         * Is the property for the key 'api.json.response.exception.included' true? <br>
         * The value is, e.g. false <br>
         * comment: Whether to include exceptions in API JSON response.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
Back to Top