Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 686 for custom (0.2 seconds)

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

  1. docs/en/docs/advanced/stream-data.md

    {* ../../docs_src/stream_data/tutorial001_py310.py ln[44:47] hl[47] *}
    
    ## A Custom `PNGStreamingResponse` { #a-custom-pngstreamingresponse }
    
    In the examples above, the data bytes were streamed, but the response didn't have a `Content-Type` header, so the client didn't know what type of data it was receiving.
    
    You can create a custom sub-class of `StreamingResponse` that sets the `Content-Type` header to the type of data you're streaming.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertNotNull(ioException);
            assertTrue(ioException.getCause() instanceof java.io.IOException);
    
            // Test with custom exception
            Throwable customCause = new FessSystemException("Custom Fess error");
            GsaConfigException customException = new GsaConfigException("GSA custom error", customCause);
            assertNotNull(customException);
            assertTrue(customException.getCause() instanceof FessSystemException);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                }
            }
    
            return bean;
        }
    
        /**
         * Parses an XML element looking for the name of a custom implementation.
         *
         * @param parser The XML parser
         * @return Name of the custom implementation; otherwise {@code null}
         */
        private static String parseImplementation(final XmlPullParser parser) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial014_an_py310.py hl[10] *}
    
    ## Custom Validation { #custom-validation }
    
    There could be cases where you need to do some **custom validation** that can't be done with the parameters shown above.
    
    In those cases, you can use a **custom validator function** that is applied after the normal validation (e.g. after validating that the value is a `str`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/json-base64-bytes.md

    ## Base64 vs Files { #base64-vs-files }
    
    Consider first if you can use [Request Files](../tutorial/request-files.md) for uploading binary data and [Custom Response - FileResponse](./custom-response.md#fileresponse--fileresponse-) for sending binary data, instead of encoding it in JSON.
    
    JSON can only contain UTF-8 encoded strings, so it can't contain raw bytes.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  6. docs/en/docs/how-to/general.md

    To add metadata to your OpenAPI schema, including a license, version, contact, etc, read the docs for [Tutorial - Metadata and Docs URLs](../tutorial/metadata.md).
    
    ## OpenAPI Custom URL { #openapi-custom-url }
    
    To customize the OpenAPI URL (or remove it), read the docs for [Tutorial - Metadata and Docs URLs](../tutorial/metadata.md#openapi-url).
    
    ## OpenAPI Docs URLs { #openapi-docs-urls }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/bigger-applications.md

    But now you know how it works, so you can use relative imports in your own apps no matter how complex they are. 🤓
    
    ### Add some custom `tags`, `responses`, and `dependencies` { #add-some-custom-tags-responses-and-dependencies }
    
    We are not adding the prefix `/items` nor the `tags=["items"]` to each *path operation* because we added them to the `APIRouter`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  8. internal/http/transports.go

    	ReadBufferSize = 64 << 10
    )
    
    // ConnSettings - contains connection settings.
    type ConnSettings struct {
    	DialContext DialContext // Custom dialContext, DialTimeout is ignored if this is already setup.
    	LookupHost  LookupHost  // Custom lookupHost, is nil on containerized deployments.
    	DialTimeout time.Duration
    
    	// TLS Settings
    	RootCAs          *x509.CertPool
    	CipherSuites     []uint16
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. internal/http/dial_dnscache.go

    import (
    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    // It randomly fetches an IP via custom LookupHost function and dials it by the given dial
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            assertDoesNotThrow(() -> request.setFileId(alternating), "Should handle alternating pattern file ID");
        }
    
        @Test
        @DisplayName("Should create custom implementation of RequestWithFileId")
        void testCustomImplementation() {
            // Given - custom implementation
            class CustomRequestWithFileId implements RequestWithFileId {
                private byte[] fileId;
                private int setCount = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top