Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1111 - 1120 of 1,286 for Handle (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/uk/docs/tutorial/handling-errors.md

    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Перевизначення обробника помилок `HTTPException` { #override-the-httpexception-error-handler }
    
    Аналогічно, ви можете перевизначити обробник `HTTPException`.
    
    Наприклад, ви можете захотіти повернути відповідь у вигляді простого тексту замість JSON для цих помилок:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 36] = 0x00;
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            assertEquals(37, bytesRead);
    
            // Verify maximum values are correctly handled
            Field setupCountField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("setupCount");
            setupCountField.setAccessible(true);
            assertEquals(255, setupCountField.get(response));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/handling-errors.md

    将得到如下文本内容:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### 覆盖 `HTTPException` 错误处理器 { #override-the-httpexception-error-handler }
    
    同理,也可以覆盖 `HTTPException` 的处理器。
    
    例如,只为这些错误返回纯文本响应,而不是 JSON:
    
    {* ../../docs_src/handling_errors/tutorial004_py310.py hl[3:4,9:11,25] *}
    
    /// note | 技术细节
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

    import org.codelibs.fess.crawler.Constants;
    
    /**
     * The Hc5FormScheme class implements the AuthScheme interface for Apache HttpComponents 5.x
     * to provide form-based authentication for HTTP clients. It handles the process of
     * obtaining a token and logging in using the provided credentials.
     *
     * <p>This class supports both GET and POST methods for token and login
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing general system settings in the admin interface.
     * This form handles global configuration settings that affect the entire Fess system,
     * including crawling behavior, authentication, logging, and various system parameters.
     *
     */
    public class EditForm {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/netbios/NbtAddress.java

    import jcifs.NetbiosName;
    
    /**
     * This class represents a NetBIOS over TCP/IP address. Under normal
     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     *
     *
     *  * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
     * <code>getAllByAddress</code> to create a new NbtAddress instance. This
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. cmd/globals.go

    	globalDNSCache = &dnscache.Resolver{
    		Timeout: 5 * time.Second,
    	}
    
    	globalForwarder *handlers.Forwarder
    
    	globalTierConfigMgr *TierConfigMgr
    
    	globalConsoleSrv *consoleapi.Server
    
    	// handles service freeze or un-freeze S3 API calls.
    	globalServiceFreeze atomic.Value
    
    	// Only needed for tracking
    	globalServiceFreezeCnt int32
    	globalServiceFreezeMu  sync.Mutex // Updates.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 03 18:23:41 GMT 2024
    - 16.2K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                    } catch (final Exception e) {
                        // ignore
                    }
                }
                currentProcess = null;
    
            }
        }
    
        /**
         * Monitor thread that handles process timeout and termination.
         * This thread sleeps for the specified timeout duration and terminates the process if it hasn't finished.
         */
        protected static class MonitorThread extends Thread {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            // Central timezone should match default
            assertEquals(defaultTz, FessUserTimeZoneProcessProvider.centralTimeZone);
        }
    
        // Test with decimal values in string (should be handled by config)
        @Test
        public void test_decimalStringValues() {
            FessConfig decimalConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc4FormScheme.java

    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.crawler.Constants;
    
    /**
     * The FormScheme class implements the AuthScheme interface to provide
     * form-based authentication for HTTP clients. It handles the process of
     * obtaining a token and logging in using the provided credentials.
     *
     * <p>This class supports both GET and POST methods for token and login
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
Back to Top