- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setDefault (0.06 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
object : DelegatingServerSocketFactory(getDefault()) { override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket { serverSocket.receiveBufferSize = socketBufferSize return serverSocket } } client = client.newBuilder() .socketFactory( object : DelegatingSocketFactory(getDefault()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
fastapi/applications.py
] = {} if exception_handlers is None else dict(exception_handlers) self.exception_handlers.setdefault(HTTPException, http_exception_handler) self.exception_handlers.setdefault( RequestValidationError, request_validation_exception_handler ) self.exception_handlers.setdefault( WebSocketRequestValidationError,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
client = clientTestRule.newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) cache.delete() } /** * Test that response caching is consistent with the RI and the spec. * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4 */ @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0)