Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for socketPolicy (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import mockwebserver3.PushPromise
    import mockwebserver3.QueueDispatcher
    import mockwebserver3.RecordedRequest
    import mockwebserver3.SocketPolicy.DisconnectAtEnd
    import mockwebserver3.SocketPolicy.NoResponse
    import mockwebserver3.SocketPolicy.ResetStreamAtStart
    import mockwebserver3.SocketPolicy.StallSocketAtStart
    import okhttp3.Cache
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Connection
    import okhttp3.Cookie
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/Dispatcher.kt

    abstract class Dispatcher {
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      open fun peek(): MockResponse {
        return MockResponse().apply { this.socketPolicy = SocketPolicy.KEEP_OPEN }
      }
    
      open fun shutdown() {}
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 909 bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

    import assertk.assertions.isNotNull
    import assertk.fail
    import javax.net.ssl.SSLSocket
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.DoNotReadRequestBody
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.duplex.AsyncRequestBody
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.PlatformRule
    import okio.BufferedSink
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

    import java.security.cert.X509Certificate
    import java.time.Duration
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.DisconnectAtStart
    import mockwebserver3.SocketPolicy.ShutdownOutputAtEnd
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

    import mockwebserver3.RecordedRequest
    import mockwebserver3.SocketPolicy.DisconnectAfterRequest
    import mockwebserver3.SocketPolicy.DisconnectAtEnd
    import mockwebserver3.SocketPolicy.DisconnectAtStart
    import mockwebserver3.SocketPolicy.FailHandshake
    import mockwebserver3.SocketPolicy.HalfCloseAfterRequest
    import mockwebserver3.SocketPolicy.NoResponse
    import mockwebserver3.SocketPolicy.StallSocketAtStart
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  6. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

    import java.util.concurrent.TimeUnit
    import javax.net.ssl.HttpsURLConnection
    import kotlin.test.assertFailsWith
    import mockwebserver3.SocketPolicy.DisconnectAtStart
    import mockwebserver3.SocketPolicy.DisconnectDuringRequestBody
    import mockwebserver3.SocketPolicy.DisconnectDuringResponseBody
    import mockwebserver3.SocketPolicy.ShutdownServerAfterResponse
    import okhttp3.Headers
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    import mockwebserver3.SocketPolicy.KeepOpen
    import okhttp3.ExperimentalOkHttpApi
    
    /** Handler for mock server requests. */
    @ExperimentalOkHttpApi
    abstract class Dispatcher {
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy
    import mockwebserver3.SocketPolicy.DisconnectAtEnd
    import mockwebserver3.SocketPolicy.FailHandshake
    import mockwebserver3.SocketPolicy.ShutdownInputAtEnd
    import mockwebserver3.SocketPolicy.ShutdownOutputAtEnd
    import mockwebserver3.junit5.internal.MockWebServerInstance
    import okhttp3.Credentials.basic
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.DisconnectDuringRequestBody
    import mockwebserver3.SocketPolicy.DisconnectDuringResponseBody
    import mockwebserver3.SocketPolicy.FailHandshake
    import okhttp3.CallEvent.CallEnd
    import okhttp3.CallEvent.CallFailed
    import okhttp3.CallEvent.CallStart
    import okhttp3.CallEvent.ConnectStart
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  10. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

    import java.util.concurrent.TimeUnit
    import javax.net.ssl.SSLException
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.DisconnectAfterRequest
    import mockwebserver3.SocketPolicy.DisconnectAtEnd
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top