Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getDispatcher (0.04 sec)

  1. mockwebserver/api/mockwebserver3.api

    	public fun <init> ()V
    	public fun close ()V
    	public final fun enqueue (Lmockwebserver3/MockResponse;)V
    	public final fun getBodyLimit ()J
    	public final fun getDispatcher ()Lmockwebserver3/Dispatcher;
    	public final fun getHostName ()Ljava/lang/String;
    	public final fun getPort ()I
    	public final fun getProtocolNegotiationEnabled ()Z
    	public final fun getProtocols ()Ljava/util/List;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/api/mockwebserver.api

    	public fun close ()V
    	public final fun enqueue (Lokhttp3/mockwebserver/MockResponse;)V
    	public final fun getBodyLimit ()J
    	public final fun getDelegate ()Lmockwebserver3/MockWebServer;
    	public final fun getDispatcher ()Lokhttp3/mockwebserver/Dispatcher;
    	public final fun getHostName ()Ljava/lang/String;
    	public final fun getPort ()I
    	public final fun getProtocolNegotiationEnabled ()Z
    	public final fun getRequestCount ()I
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * served by the first enqueued response; the second request by the second enqueued response; and
       * so on.
       *
       * @throws ClassCastException if the default dispatcher has been
       * replaced with [setDispatcher][dispatcher].
       */
      public fun enqueue(response: MockResponse) {
        (dispatcher as QueueDispatcher).enqueue(response)
      }
    
      /**
       * Starts the server on the loopback interface for the given port.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
Back to top