Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 2,442 for okhttp (0.1 sec)

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

     */
    package okhttp3.mockwebserver
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.InetAddress
    import java.net.Proxy
    import java.util.concurrent.TimeUnit
    import java.util.logging.Level
    import java.util.logging.Logger
    import javax.net.ServerSocketFactory
    import javax.net.ssl.SSLSocketFactory
    import okhttp3.ExperimentalOkHttpApi
    import okhttp3.HttpUrl
    import okhttp3.Protocol
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import javax.net.ssl.SSLSocket
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okhttp3.testing.PlatformVersion
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. samples/static-server/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("com.github.johnrengelman.shadow")
    }
    
    tasks.compileJava {
      options.isWarnings = false
    }
    
    tasks.jar {
      manifest {
        attributes("Main-Class" to "okhttp3.sample.SampleServer")
      }
    }
    
    dependencies {
      implementation(projects.mockwebserver)
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 08 20:01:28 UTC 2022
    - 316 bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import java.security.NoSuchAlgorithmException
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    import okhttp3.internal.SuppressSignatureCheck
    
    /** OpenJDK 9+. */
    open class Jdk9Platform : Platform() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package okhttp3.internal.http
    
    import java.net.ProtocolException
    import okhttp3.Protocol
    import okhttp3.Response
    import okio.IOException
    
    /** An HTTP response status line like "HTTP/1.1 200 OK". */
    class StatusLine(
      @JvmField val protocol: Protocol,
      @JvmField val code: Int,
      @JvmField val message: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

    import kotlin.test.assertFailsWith
    import okhttp3.tls.internal.der.CertificateAdapters.generalNameDnsName
    import okhttp3.tls.internal.der.CertificateAdapters.generalNameIpAddress
    import okhttp3.tls.internal.der.ObjectIdentifiers.BASIC_CONSTRAINTS
    import okhttp3.tls.internal.der.ObjectIdentifiers.COMMON_NAME
    import okhttp3.tls.internal.der.ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION
    import okhttp3.tls.internal.der.ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ResponseBodyTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isTrue
    import kotlin.test.Test
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString.Companion.decodeHex
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    import java.io.IOException
    import okhttp3.internal.toLongOrDefault
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    class ServerSentEventReader(
      private val source: BufferedSource,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. mockwebserver-junit4/README.md

    MockWebServer for JUnit 4
    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 4.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:4.12.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 707 bytes
    - Viewed (0)
  10. mockwebserver/api/mockwebserver3.api

    	public final fun getSettings ()Lokhttp3/internal/http2/Settings;
    	public final fun getSocketPolicy ()Lmockwebserver3/SocketPolicy;
    	public final fun getStatus ()Ljava/lang/String;
    	public final fun getStreamHandler ()Lmockwebserver3/StreamHandler;
    	public final fun getThrottleBytesPerPeriod ()J
    	public final fun getWebSocketListener ()Lokhttp3/WebSocketListener;
    	public final fun headers (Lokhttp3/Headers;)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)
Back to top