Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Deprecated (0.32 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

         *
         * This was deprecated in OkHttp 4.0 in favor of the [level] val. In OkHttp 4.3 it is
         * un-deprecated because Java callers can't chain when assigning Kotlin vals. (The getter remains
         * deprecated).
         */
        fun setLevel(level: Level) =
          apply {
            this.level = level
          }
    
        @JvmName("-deprecated_level")
        @Deprecated(
          message = "moved to var",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.sse.internal.RealEventSource
    
    object EventSources {
      @Deprecated(
        message = "required for binary-compatibility!",
        level = DeprecationLevel.HIDDEN,
      )
      @JvmStatic
      fun createFactory(client: OkHttpClient) = createFactory(client as Call.Factory)
    
      @JvmStatic
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:18:15 GMT 2024
    - 1.6K bytes
    - Viewed (1)
  3. docs/changelogs/changelog_4x.md

        exception the callback is now notified that the call was canceled. The exception is still sent
        to the uncaught exception handler for reporting and recovery.
    
     *  Fix: Un-deprecate `MockResponse.setHeaders()` and other setters. These were deprecated in OkHttp
        4.0 but that broke method chaining for Java callers.
    
     *  Fix: Don't crash on HTTP/2 HEAD requests when the `Content-Length` header is present but is not
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Address.kt

      val connectionSpecs: List<ConnectionSpec> =
        connectionSpecs.toImmutableList()
    
      @JvmName("-deprecated_url")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "url"),
        level = DeprecationLevel.ERROR,
      )
      fun url(): HttpUrl = url
    
      @JvmName("-deprecated_dns")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "dns"),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    	public final fun -deprecated_immutable ()Z
    	public final fun -deprecated_maxAgeSeconds ()I
    	public final fun -deprecated_maxStaleSeconds ()I
    	public final fun -deprecated_minFreshSeconds ()I
    	public final fun -deprecated_mustRevalidate ()Z
    	public final fun -deprecated_noCache ()Z
    	public final fun -deprecated_noStore ()Z
    	public final fun -deprecated_noTransform ()Z
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun -deprecated_bodyLimit (J)V
    	public final fun -deprecated_port ()I
    	public final fun -deprecated_protocolNegotiationEnabled (Z)V
    	public final fun -deprecated_protocols ()Ljava/util/List;
    	public final fun -deprecated_protocols (Ljava/util/List;)V
    	public final fun -deprecated_requestCount ()I
    	public final fun -deprecated_serverSocketFactory (Ljavax/net/ServerSocketFactory;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      }
    
      @JvmName("-deprecated_protocols")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "run { this.protocols = protocols }"),
        level = DeprecationLevel.ERROR,
      )
      fun setProtocols(protocols: List<Protocol>) {
        delegate.protocols = protocols
      }
    
      @JvmName("-deprecated_protocols")
      @Deprecated(
        message = "moved to var",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Challenge.kt

        return Challenge(scheme, authParams)
      }
    
      @JvmName("-deprecated_scheme")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "scheme"),
        level = DeprecationLevel.ERROR,
      )
      fun scheme(): String = scheme
    
      @JvmName("-deprecated_authParams")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "authParams"),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/MediaType.kt

       */
      fun parameter(name: String): String? = commonParameter(name)
    
      @JvmName("-deprecated_type")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "type"),
        level = DeprecationLevel.ERROR,
      )
      fun type(): String = type
    
      @JvmName("-deprecated_subtype")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "subtype"),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. okhttp-tls/api/okhttp-tls.api

    	public static final fun decodeCertificatePem (Ljava/lang/String;)Ljava/security/cert/X509Certificate;
    }
    
    public final class okhttp3/tls/HandshakeCertificates {
    	public final fun -deprecated_keyManager ()Ljavax/net/ssl/X509KeyManager;
    	public final fun -deprecated_trustManager ()Ljavax/net/ssl/X509TrustManager;
    	public synthetic fun <init> (Ljavax/net/ssl/X509KeyManager;Ljavax/net/ssl/X509TrustManager;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 26 19:17:33 GMT 2022
    - 3.7K bytes
    - Viewed (0)
Back to top