Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setFailFast (0.14 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

        delegate.enqueueResponse(response.wrap())
      }
    
      override fun shutdown() {
        delegate.shutdown()
      }
    
      fun setFailFast(failFast: Boolean) {
        delegate.setFailFast(failFast)
      }
    
      fun setFailFast(failFastResponse: MockResponse?) {
        delegate.setFailFast(failFastResponse?.wrap())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

      }
    
      override fun shutdown() {
        responseQueue.add(DEAD_LETTER)
      }
    
      open fun setFailFast(failFast: Boolean) {
        val failFastResponse =
          if (failFast) {
            MockResponse(code = HttpURLConnection.HTTP_NOT_FOUND)
          } else {
            null
          }
        setFailFast(failFastResponse)
      }
    
      open fun setFailFast(failFastResponse: MockResponse?) {
        this.failFastResponse = failFastResponse
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

          )
        mockResponse = queueDispatcher.peek()
        queueDispatcher.enqueueResponse(MockResponse())
        queueDispatcher.shutdown()
        queueDispatcher.setFailFast(false)
        queueDispatcher.setFailFast(MockResponse())
      }
    
      @Test @Ignore
      fun recordedRequest() {
        var recordedRequest: RecordedRequest =
          RecordedRequest(
            "",
            headersOf(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun enqueueResponse (Lokhttp3/mockwebserver/MockResponse;)V
    	public fun peek ()Lokhttp3/mockwebserver/MockResponse;
    	public final fun setFailFast (Lokhttp3/mockwebserver/MockResponse;)V
    	public final fun setFailFast (Z)V
    	public fun shutdown ()V
    }
    
    public final class okhttp3/mockwebserver/RecordedRequest {
    	public final fun -deprecated_utf8Body ()Ljava/lang/String;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. mockwebserver/api/mockwebserver3.api

    	protected final fun getResponseQueue ()Ljava/util/concurrent/BlockingQueue;
    	public fun peek ()Lmockwebserver3/MockResponse;
    	public fun setFailFast (Lmockwebserver3/MockResponse;)V
    	public fun setFailFast (Z)V
    	public fun shutdown ()V
    }
    
    public final class mockwebserver3/QueueDispatcher$Companion {
    }
    
    public final class mockwebserver3/RecordedRequest {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

          )
        mockResponse = queueDispatcher.peek()
        queueDispatcher.enqueueResponse(MockResponse())
        queueDispatcher.shutdown()
        queueDispatcher.setFailFast(false)
        queueDispatcher.setFailFast(MockResponse())
      }
    
      @Test
      fun recordedRequest() {
        var recordedRequest: RecordedRequest =
          RecordedRequest(
            "",
            headersOf(),
    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