Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,443 for Request (0.59 sec)

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

    These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data.
    
    You can override these exception handlers with your own.
    
    ### Override request validation exceptions { #override-request-validation-exceptions }
    
    When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. docs_src/custom_request_and_route/tutorial002_an_py310.py

    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                try:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 974 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/WebApiManager.java

    /**
     * Interface for managing web API request processing.
     * Implementations of this interface handle specific types of web API requests
     * by matching incoming requests and processing them accordingly.
     */
    public interface WebApiManager {
    
        /**
         * Checks if the request matches this API manager.
         * @param request The HTTP servlet request.
         * @return True if the request matches, false otherwise.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
              .url("https://api.github.com/search/repositories?q=http")
              .build();
    
          OkHttpClient clientForCall;
          if (i == 2) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  5. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

      private var client = clientTestRule.newClientBuilder().build()
    
      @StartStop
      private val server = MockWebServer()
    
      val request by lazy { Request(server.url("/")) }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

            this.memoryRegion = memoryRegion;
            this.completed = false;
        }
    
        /**
         * Get request ID
         *
         * @return unique request identifier
         */
        public long getRequestId() {
            return requestId;
        }
    
        /**
         * Get request type
         *
         * @return type of request
         */
        public RequestType getType() {
            return type;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        /** Helper for managing popular search words and suggestions. */
        @Resource
        protected PopularWordHelper popularWordHelper;
    
        /** The HTTP servlet request object for the current request. */
        @Resource
        protected HttpServletRequest request;
    
        /** Flag indicating whether search logging is enabled. */
        protected boolean searchLogSupport;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                CreateContextRequest request = mock(CreateContextRequest.class);
                when(request.getName()).thenReturn(expectedName);
    
                byte[] actualName = request.getName();
                assertArrayEquals(expectedName, actualName);
                verify(request, times(1)).getName();
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       * at most once. This is typically used when writing the request body is destructive and it is not
       * possible to recreate the request body after it has been sent.
       *
       * This method returns false unless it is overridden by a subclass.
       *
       * By default OkHttp will attempt to retransmit request bodies when the original request fails
       * due to any of:
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

         * Builds the effective model of the specified POM.
         *
         * @param request The model building request that holds the parameters, must not be {@code null}.
         * @return The result of the model building, never {@code null}.
         * @throws ModelBuildingException If the effective model could not be built.
         */
        ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top