Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 143 for mockwebserver (0.06 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3.internal
    
    import java.io.IOException
    import java.net.Inet6Address
    import java.net.ProtocolException
    import mockwebserver3.RecordedRequest
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. mockwebserver-junit5/build.gradle.kts

      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyJavaModules("mockwebserver3.junit5")
    
    tasks {
      test {
        useJUnitPlatform()
      }
    }
    
    dependencies {
      api(projects.okhttp)
      api(projects.mockwebserver3)
      api(libs.junit.jupiter.api)
      compileOnly(libs.animalsniffer.annotations)
    
      testRuntimeOnly(libs.junit.jupiter.engine)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 728 bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    @file:JvmName("MockResponseBodiesKt")
    
    package mockwebserver3.internal
    
    import mockwebserver3.MockResponseBody
    import okio.Buffer
    import okio.BufferedSink
    
    internal fun Buffer.toMockResponseBody(): MockResponseBody {
      val defensiveCopy = clone()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. mockwebserver-junit4/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyJavaModules("mockwebserver3.junit4")
    
    dependencies {
      api(projects.okhttp)
      api(projects.mockwebserver3)
      api(libs.junit)
    
      testImplementation(libs.assertk)
      testImplementation(libs.junit.vintage.engine)
    }
    
    mavenPublishing {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 533 bytes
    - Viewed (0)
  5. samples/compare/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      testImplementation(projects.okhttp)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(projects.okhttpTls)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.httpClient5)
      testImplementation(libs.jettyClient)
      testImplementation(libs.junit)
      testImplementation(libs.assertk)
    }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 473 bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/build.gradle.kts

    )
    
    project.applyJavaModules("okhttp3.logging")
    
    dependencies {
      "friendsApi"(projects.okhttp)
    
      testImplementation(libs.junit)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.okhttpTls)
      testImplementation(libs.assertk)
    }
    
    mavenPublishing {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 776 bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/PushPromise.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.Headers
    
    /** An HTTP request initiated by the server. */
    public class PushPromise(
      public val method: String,
      public val path: String,
      public val headers: Headers,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 849 bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package mockwebserver3
    
    import java.io.IOException
    import okio.BufferedSink
    
    /**
     * The body of a [MockResponse].
     *
     * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. okhttp-sse/build.gradle.kts

    )
    
    project.applyJavaModules("okhttp3.sse")
    
    dependencies {
      api(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(libs.junit)
    }
    
    mavenPublishing {
      configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 679 bytes
    - Viewed (0)
  10. build.gradle.kts

      plugins.withId("binary-compatibility-validator") {
        configure<ApiValidationExtension> {
          ignoredPackages += "okhttp3.logging.internal"
          ignoredPackages += "mockwebserver3.internal"
          ignoredPackages += "okhttp3.internal"
          ignoredPackages += "mockwebserver3.junit5.internal"
          ignoredPackages += "okhttp3.brotli.internal"
          ignoredPackages += "okhttp3.sse.internal"
          ignoredPackages += "okhttp3.tls.internal"
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 11.5K bytes
    - Viewed (1)
Back to top