Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,340 for Response (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

    import okhttp3.internal.connection.asBufferedSocket
    import okio.Socket
    import okio.utf8Size
    
    private typealias Action = (BufferedSocket) -> Unit
    
    /**
     * A scriptable request/response conversation. Create the script by calling methods like
     * [receiveRequest] in the sequence they are run.
     */
    class MockSocketHandler : SocketHandler {
      private val actions = LinkedBlockingQueue<Action>()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

        server.start()
    
        val call1 =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        call1.execute().use { response -> response.body.string() }
    
        listener.shouldClose = true
        // Large headers are a likely reason the servers would cut off the connection before it completes sending
        // request headers.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java

     */
    package jcifs.internal.witness;
    
    /**
     * Represents a witness heartbeat response as defined in MS-SWN specification.
     * Contains the result of a witness heartbeat request.
     */
    public class WitnessHeartbeatResponse {
        /**
         * Creates a new witness heartbeat response.
         */
        public WitnessHeartbeatResponse() {
            // Default constructor
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java

     */
    package jcifs.internal.witness;
    
    /**
     * Represents a witness registration response as defined in MS-SWN specification.
     * Contains the result of a witness registration request.
     */
    public class WitnessRegisterResponse {
        /**
         * Creates a new witness register response.
         */
        public WitnessRegisterResponse() {
            // Default constructor
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. docs/works_with_okhttp.md

     * ⬜️ [Okio](https://github.com/square/okio/): A modern I/O API for Java.
     * [OkLog](https://github.com/simonpercic/OkLog): Response logging interceptor for OkHttp. Logs a URL link with URL-encoded response for every OkHttp call.
     * [Okurl](https://github.com/yschimke/okurl/wiki) A curl-like client for social networks and other APIs.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java

         */
        @Override
        public Logger getLogger() {
            return logger;
        }
    
        /**
         * Gets the appropriate extractor for the given response data.
         * Selects an extractor based on the MIME type of the file.
         *
         * @param responseData the response data containing the file to extract
         * @return the extractor instance for processing the file
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

     */
    
    package jcifs.internal.smb1.trans;
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Response for SMB1 TRANS_PEEK_NAMED_PIPE transaction.
     *
     * This response contains information about the data available in the
     * named pipe without actually removing the data from the pipe.
     */
    public class TransPeekNamedPipeResponse extends SmbComTransactionResponse {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        void testSetupResponse() {
            // Arrange
            doNothing().when(negotiationResponse).setupResponse(response);
    
            // Act
            negotiationResponse.setupResponse(response);
    
            // Assert
            verify(negotiationResponse).setupResponse(response);
        }
    
        @Test
        @DisplayName("Test setupResponse with null")
        void testSetupResponseWithNull() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/TransportTest.java

                if (sendException != null) {
                    throw sendException;
                }
            }
    
            @Override
            protected void doRecv(Response response) throws IOException {
                if (recvException != null) {
                    throw recvException;
                }
            }
    
            @Override
            protected void doSkip(Long key) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            lenient().when(mockConfig.isWitnessServiceDiscovery()).thenReturn(true);
        }
    
        @Test
        void testSuccessfulRegistration() throws Exception {
            // Setup mock RPC response
            WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class);
            lenient().when(mockResponse.isSuccess()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top