Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 189 for codec (0.01 seconds)

  1. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        protected boolean httpOnly = true;
    
        /**
         * Retrieves the user code for the current request.
         * The user code is used to uniquely identify users across sessions and requests.
         * It checks multiple sources in order: request attribute, request parameter, cookie, user bean, or generates a new one.
         *
         * @return the user code string, or null if no valid session exists
         */
        public String getUserCode() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/BadWordTests.java

                    .put(getApiPath() + "/upload");
    
            int statusCode = response.getStatusCode();
            // Accept either 200 (success) or other status codes based on implementation
            assertTrue(statusCode == 200 || statusCode == 400, "Status code should be 200 or 400, but was " + statusCode);
    
            if (statusCode == 200) {
                JsonPath jsonPath = JsonPath.from(response.asString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            assertTrue(exception.getStackTrace().length > 0);
        }
    
        @Test
        public void test_differentMessageCodes() {
            // Setup - test with different message codes
            final String message = "Test message";
            final VaMessenger<FessMessages> loginErrorCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            super.tearDown(testInfo);
        }
    
        // Test basic initialization
        @Test
        public void test_hookInitialization() {
            assertNotNull(apiFailureHook);
        }
    
        // Test API result status codes
        @Test
        public void test_apiResultStatusCodes() {
            // Test OK status
            ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result();
            assertNotNull(okResult);
    
    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)
  5. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            int logoutHashCode = SsoResponseType.LOGOUT.hashCode();
    
            // Hash code should be consistent for the same object
            assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode());
            assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode());
    
            // Different enum constants should have different hash codes (usually)
            assertNotSame(metadataHashCode, logoutHashCode);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /** Configuration key for crawler clients used in parameter maps */
        protected static final String CRAWLER_CLIENTS = "crawlerClients";
    
        /** HTTP status code for Not Found */
        private static final int HTTP_STATUS_NOT_FOUND = 404;
    
        /** HTTP status code for OK */
        private static final int HTTP_STATUS_OK = 200;
    
        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            int[] codes = (int[]) propMap.get(CRAWLER_FAILURE_URL_STATUS_CODES);
            if (codes == null) {
                codes = split(getCrawlerFailureUrlStatusCodes(), ",")
                        .get(stream -> stream.filter(StringUtil::isNotBlank).mapToInt(Integer::parseInt).toArray());
                propMap.put(CRAWLER_FAILURE_URL_STATUS_CODES, codes);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

        }
    
        @Test
        public void test_formatCode() {
            String code;
            String value;
    
            code = "";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint\"></pre>", value);
    
            code = "aaa";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint\">aaa</pre>", value);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exception/WebApiException.java

     * This exception includes an HTTP status code to indicate the nature of the error.
     */
    public class WebApiException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The HTTP status code associated with this exception.
         */
        private final int statusCode;
    
        /**
         * Gets the HTTP status code associated with this exception.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/llm/LlmException.java

        /** Error code for request timeout. */
        public static final String ERROR_TIMEOUT = "timeout";
    
        /** Error code for context length exceeded. */
        public static final String ERROR_CONTEXT_LENGTH_EXCEEDED = "context_length_exceeded";
    
        /** Error code for model not found. */
        public static final String ERROR_MODEL_NOT_FOUND = "model_not_found";
    
        /** Error code for invalid response from the LLM provider. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
Back to Top