Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addHeaderLenient (0.1 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         * same name. Unlike [addHeader] this does not validate the name and
         * value.
         */
        fun addHeaderLenient(
          name: String,
          value: Any,
        ) = apply {
          addHeaderLenient(headers, name, value.toString())
        }
    
        /** Removes all headers named [name], then adds a new header with the name and value. */
        fun setHeader(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/api/mockwebserver.api

    	public fun <init> ()V
    	public final fun addHeader (Ljava/lang/String;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun addHeader (Ljava/lang/String;Ljava/lang/Object;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun addHeaderLenient (Ljava/lang/String;Ljava/lang/Object;)Lokhttp3/mockwebserver/MockResponse;
    	public final fun clearHeaders ()Lokhttp3/mockwebserver/MockResponse;
    	public synthetic fun clone ()Ljava/lang/Object;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. mockwebserver/api/mockwebserver3.api

    	public final fun addHeader (Ljava/lang/String;)Lmockwebserver3/MockResponse$Builder;
    	public final fun addHeader (Ljava/lang/String;Ljava/lang/Object;)Lmockwebserver3/MockResponse$Builder;
    	public final fun addHeaderLenient (Ljava/lang/String;Ljava/lang/Object;)Lmockwebserver3/MockResponse$Builder;
    	public final fun addInformationalResponse (Lmockwebserver3/MockResponse;)Lmockwebserver3/MockResponse$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import okhttp3.Headers
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.internal.http2.Header
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        mockResponse = mockResponse.clearHeaders()
        mockResponse = mockResponse.addHeader("")
        mockResponse = mockResponse.addHeader("", "")
        mockResponse = mockResponse.addHeaderLenient("", Any())
        mockResponse = mockResponse.setHeader("", Any())
        mockResponse.headers = headersOf()
        mockResponse.trailers = headersOf()
        mockResponse = mockResponse.removeHeader("")
    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