Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,758 for Request (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * A request to configure a bean from some configuration in the POM or similar.
     *
     */
    public interface BeanConfigurationRequest {
    
        /**
         * Gets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @return The bean to configure, or {@code null} if none.
         */
        Object getBean();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. docs_src/behind_a_proxy/tutorial004.py

    from fastapi import FastAPI, Request
    
    app = FastAPI(
        servers=[
            {"url": "https://stag.example.com", "description": "Staging environment"},
            {"url": "https://prod.example.com", "description": "Production environment"},
        ],
        root_path="/api/v1",
        root_path_in_servers=False,
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 10 17:28:18 UTC 2020
    - 437 bytes
    - Viewed (0)
  3. test-site/app/models/ContentsCreator.java

                }
            }
        }
    
        protected void addSubLink(final Queue<String> queue, final String html, final HttpUriRequest request) {
            String schema = request.getURI().getScheme();
            String host = request.getURI().getHost();
            String originUri = request.getURI().toString();
    
            String h = html;
            final String tag = "<a href=\"";
            int linkPos;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/middleware.md

    ๐Ÿšฅ ๐Ÿ“ค ๐Ÿ™† ๐Ÿ–ฅ ๐Ÿ“‹ (๐Ÿ“„ โช), ๐Ÿ‘ซ ๐Ÿ”œ ๐Ÿƒ *โฎ๏ธ* ๐ŸŒ ๐Ÿ› ๏ธ.
    
    ///
    
    ## โœ ๐Ÿ› ๏ธ
    
    โœ ๐Ÿ› ๏ธ ๐Ÿ‘† โš™๏ธ ๐Ÿ‘จโ€๐ŸŽจ `@app.middleware("http")` ๐Ÿ”› ๐Ÿ” ๐Ÿ”ข.
    
    ๐Ÿ› ๏ธ ๐Ÿ”ข ๐Ÿ“จ:
    
    *  `request`.
    * ๐Ÿ”ข `call_next` ๐Ÿ‘ˆ ๐Ÿ”œ ๐Ÿ“จ `request` ๐Ÿ”ข.
        * ๐Ÿ‘‰ ๐Ÿ”ข ๐Ÿ”œ ๐Ÿšถโ€โ™€๏ธ `request` ๐Ÿ”— *โžก ๐Ÿ› ๏ธ*.
        * โคด๏ธ โšซ๏ธ ๐Ÿ“จ `response` ๐Ÿ— ๐Ÿ”— *โžก ๐Ÿ› ๏ธ*.
    * ๐Ÿ‘† ๐Ÿ’ช โคด๏ธ ๐Ÿ”€ ๐ŸŒ… `response` โญ ๐Ÿ›ฌ โšซ๏ธ.
    
    ```Python hl_lines="8-9  11  14"
    {!../../docs_src/middleware/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. tests/test_dependency_contextvars.py

        yield request_state
        legacy_request_state_context_var.reset(contextvar_token)
    
    
    @app.middleware("http")
    async def custom_middleware(
        request: Request, call_next: Callable[[Request], Awaitable[Response]]
    ):
        response = await call_next(request)
        response.headers["custom"] = "foo"
        return response
    
    
    @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)])
    def get_user():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. istioctl/pkg/authz/testdata/configdump.yaml

                 },
                 "custom_tags": [
                  {
                   "tag": "istio.authorization.dry_run.allow_policy.name",
                   "metadata": {
                    "kind": {
                     "request": {}
                    },
                    "metadata_key": {
                     "key": "envoy.filters.http.rbac",
                     "path": [
                      {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 206.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

                throw new ArtifactResolutionException(
                        "Unknown error during artifact resolution, " + request + ", " + result.getExceptions(),
                        request.getArtifact(),
                        request.getRemoteRepositories());
            }
        }
    
        private static <T> List<T> toList(Collection<T> items) {
            return (items != null) ? new ArrayList<>(items) : null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. cmd/encryption-v1_test.go

    }
    
    var decryptObjectMetaTests = []struct {
    	info    ObjectInfo
    	request *http.Request
    	expErr  error
    }{
    	{
    		info:    ObjectInfo{Size: 100},
    		request: &http.Request{Header: http.Header{}},
    		expErr:  nil,
    	},
    	{
    		info:    ObjectInfo{Size: 100, UserDefined: map[string]string{crypto.MetaAlgorithm: crypto.InsecureSealAlgorithm}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        }
    
        protected FormatType getFormatType(final HttpServletRequest request) {
            FormatType formatType = (FormatType) request.getAttribute(API_FORMAT_TYPE);
            if (formatType != null) {
                return formatType;
            }
    
            formatType = detectFormatType(request);
            request.setAttribute(API_FORMAT_TYPE, formatType);
            return formatType;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun request() {
        val request: Request = Request.Builder().build()
        val isHttps: Boolean = request.isHttps
        val url: HttpUrl = request.url
        val method: String = request.method
        val headers: Headers = request.headers
        val header: String? = request.header("")
        val headersForName: List<String> = request.headers("")
        val body: RequestBody? = request.body
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top