Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 135 for mockwebserver (0.57 sec)

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 849 bytes
    - Viewed (0)
  2. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 1K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.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.internal
    
    import okio.Buffer
    import okio.Sink
    
    /**
     * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all
     * subsequent bytes.
     */
    internal class TriggerSink(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. maven-tests/pom.xml

    <!--      <artifactId>okhttp</artifactId>-->
          <artifactId>okhttp-jvm</artifactId>
        </dependency>
    
        <dependency>
          <groupId>com.squareup.okhttp3</groupId>
          <artifactId>mockwebserver3</artifactId>
        </dependency>
    
        <dependency>
          <groupId>com.squareup.okhttp3</groupId>
          <artifactId>logging-interceptor</artifactId>
        </dependency>
      </dependencies>
    
      <reporting>
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 13 08:32:01 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. okhttp-sse/build.gradle.kts

      "Bundle-SymbolicName: com.squareup.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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 14 00:51:50 UTC 2025
    - 678 bytes
    - Viewed (0)
  6. mockwebserver/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "mockwebserver3")
      }
    }
    
    dependencies {
      "friendsApi"(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.okhttpTls)
      testImplementation(projects.mockwebserver3Junit5)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 838 bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/SocketHandler.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 okio.Socket
    
    /**
     * Handles a call's request and response streams directly. Use this instead of [MockResponseBody] to
     * begin sending response data before all request data has been received.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 940 bytes
    - Viewed (0)
  8. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.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.junit4
    
    import assertk.assertThat
    import assertk.assertions.isTrue
    import java.net.ConnectException
    import java.util.concurrent.atomic.AtomicBoolean
    import org.junit.Assert.fail
    import org.junit.Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. okhttp-testing-support/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("ru.vyarus.animalsniffer")
    }
    
    dependencies {
      api(libs.squareup.okio)
      api(projects.mockwebserver3)
      "friendsApi"(projects.okhttp)
      api(projects.okhttpTls)
      api(libs.assertk)
      api(libs.bouncycastle.bcprov)
      implementation(libs.bouncycastle.bcpkix)
      implementation(libs.bouncycastle.bctls)
      api(libs.conscrypt.openjdk)
      api(libs.openjsse)
    
      api(rootProject.libs.junit.jupiter.engine)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 800 bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.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.Closeable
    
    /** Handler for mock server requests. */
    public abstract class Dispatcher : Closeable {
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top