Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 412 for java (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

    import android.annotation.SuppressLint
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.security.GeneralSecurityException
    import java.security.KeyStore
    import java.security.Security
    import java.util.logging.Level
    import java.util.logging.Logger
    import javax.net.ssl.ExtendedSSLSession
    import javax.net.ssl.SNIHostName
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  2. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.net.http.HttpClient
    import java.net.http.HttpClient.Redirect.NORMAL
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse.BodyHandlers
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.testing.PlatformRule
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    
    class FakeProxySelector : ProxySelector() {
      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.ServerSocket
    import java.net.Socket
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.Executors
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.logging.Logger
    import okhttp3.TestUtil.threadFactory
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestBodyTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.FileDescriptor
    import java.io.FileInputStream
    import java.io.IOException
    import java.nio.file.Path
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.asRequestBody
    import okhttp3.RequestBody.Companion.toRequestBody
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  6. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.java.net.cookiejar
    
    import java.io.IOException
    import java.net.CookieHandler
    import java.net.HttpCookie
    import java.util.Collections
    import okhttp3.Cookie
    import okhttp3.CookieJar
    import okhttp3.HttpUrl
    import okhttp3.internal.cookieToString
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/features/events.md

    ![Events Diagram](../assets/images/******@****.***)
    
    Here’s a [sample event listener](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java) that prints each event with a timestamp.
    
    ```java
    class PrintingEventListener extends EventListener {
      private long callStartNanos;
    
      private void printEvent(String name) {
        long nowNanos = System.nanoTime();
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import com.github.ajalt.clikt.parameters.options.option
    import com.github.ajalt.clikt.parameters.types.int
    import java.security.cert.X509Certificate
    import java.util.Properties
    import java.util.concurrent.TimeUnit.SECONDS
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManager
    import javax.net.ssl.X509TrustManager
    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.Request
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import java.math.BigInteger
    import java.security.GeneralSecurityException
    import java.security.PublicKey
    import java.security.Signature
    import java.security.SignatureException
    import java.security.cert.CertificateFactory
    import java.security.cert.X509Certificate
    import okio.Buffer
    import okio.ByteString
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

          override fun authenticate(
            route: Route?,
            response: Response,
          ): Request? = null
        }
    
        /** An authenticator that uses the java.net.Authenticator global authenticator. */
        @JvmField
        val JAVA_NET_AUTHENTICATOR: Authenticator = JavaNetAuthenticator()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top