Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,367 for respond (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

        val call =
          client.newCall(
            Request
              .Builder()
              .url(server!!.url("/"))
              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.body.close()
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            CommonServerMessageBlockResponse out = handle.send(request, response, RequestParam.NO_RETRY);
            assertSame(response, out);
            verify(treeConnection).send(eq(resourceLoc), eq(request), eq(response), any(RequestParam[].class));
        }
    
        @Test
        @DisplayName("send(request, response, set) forwards directly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComBlankResponse class.
     */
    class SmbComBlankResponseTest {
    
        private SmbComBlankResponse response;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            response = new SmbComBlankResponse();
            buffer = new byte[100];
        }
    
        /**
         * Test for the writeParameterWordsWireFormat method.
         * It should always return 0.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

              },
            )
          }
    
        assertThat(response.trailers()["a"]).isEqualTo("b")
      }
    
      @Test fun peekAfterReadingResponse() {
        val response = newResponse(responseBody("abc"))
        assertThat(response.body.string()).isEqualTo("abc")
    
        assertFailsWith<IllegalStateException> {
          response.peekBody(3)
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    It is designed to have functions that receive two parameters, one "request" and one "response". Then you "read" parts from the request, and "write" parts to the response. Because of this design, it is not possible to declare request parameters and bodies with standard Python type hints as function parameters.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

    import org.dbflute.optional.OptionalEntity;
    import org.lastaflute.core.message.UserMessages;
    import org.lastaflute.web.login.credential.LoginCredential;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.StreamResponse;
    import org.lastaflute.web.util.LaRequestUtil;
    import org.lastaflute.web.util.LaResponseUtil;
    
    import jakarta.annotation.PostConstruct;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            return osddFile != null;
        }
    
        /**
         * Returns the OSDD as a stream response.
         *
         * @return the stream response
         */
        public StreamResponse asStream() {
            if (osddFile == null) {
                throw ComponentUtil.getResponseManager().new404("Unsupported Open Search Description Document response.");
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

              exceptionRef.set(e)
              latch.countDown()
            }
    
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
              latch.countDown()
            }
          },
        )
        latch.await()
        assertThat(call.isCanceled()).isTrue()
        assertThat(exceptionRef.get()).isNotNull()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. cmd/kms-handlers.go

    		response.DecryptionErr = "The generated and the decrypted data key do not match"
    		resp, err := json.Marshal(response)
    		if err != nil {
    			writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    		return
    	}
    
    	resp, err := json.Marshal(response)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    }
                }
            }
        }
    
        /**
         * Gets response data for the given URI.
         *
         * @param uri the URI to get response data for
         * @param includeContent whether to include content in the response
         * @return the response data
         * @throws CrawlingAccessException if unable to access the URI
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top