- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 717 for handler (0.05 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
interceptorThrowsRuntimeExceptionAsynchronous(true) } /** * When an interceptor throws an unexpected exception, asynchronous calls are canceled. The * exception goes to the uncaught exception handler. */ private fun interceptorThrowsRuntimeExceptionAsynchronous(network: Boolean) { val boom = RuntimeException("boom!") addInterceptor(network) { chain: Interceptor.Chain? -> throw boom }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
val out = Buffer() Http2Writer(out, true).windowUpdate(expectedStreamId, windowSizeIncrement) return out } private fun assertHeaderBlock(): Http2Reader.Handler = object : BaseTestHandler() { override fun headers( inFinished: Boolean, streamId: Int, associatedStreamId: Int, headerBlock: List<Header>, ) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 28.1K bytes - Click Count (0) -
api/go1.8.txt
pkg encoding/json, method (RawMessage) MarshalJSON() ([]uint8, error) pkg encoding/json, type UnmarshalTypeError struct, Field string pkg encoding/json, type UnmarshalTypeError struct, Struct string pkg expvar, func Handler() http.Handler pkg expvar, method (*Float) Value() float64 pkg expvar, method (Func) Value() interface{} pkg expvar, method (*Int) Value() int64 pkg expvar, method (*String) Value() string
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Dec 21 05:25:57 GMT 2016 - 16.3K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
import java.security.Security import java.security.cert.Certificate import java.security.cert.CertificateException import java.security.cert.X509Certificate import java.util.concurrent.atomic.AtomicInteger import java.util.logging.Handler import java.util.logging.Level import java.util.logging.LogRecord import java.util.logging.Logger import javax.net.ssl.HostnameVerifier import javax.net.ssl.SSLPeerUnverifiedException import javax.net.ssl.SSLSocket
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 29.9K bytes - Click Count (0) -
cmd/postpolicyform.go
encrypt.SseCustomerKey: true, encrypt.SseCustomerKeyMD5: true, } // checkPostPolicy - apply policy conditions and validate input values. // Note that content-length-range is checked in the API handler function PostPolicyBucketHandler. // formValues is the already-canonicalized form values from the POST request. func checkPostPolicy(formValues http.Header, postPolicyForm PostPolicyForm) error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/handling-errors.md
``` Validation errors: Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer ``` ### Sobrescreva o manipulador de erro `HTTPException` { #override-the-httpexception-error-handler } Do mesmo modo, você pode sobrescrever o `HTTPException`. Por exemplo, você pode querer retornar uma *response* em *plain text* ao invés de um JSON para os seguintes erros:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.2K bytes - Click Count (0) -
docs/es/docs/tutorial/handling-errors.md
Validation errors: Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer ``` ### Sobrescribir el manejador de errores de `HTTPException` { #override-the-httpexception-error-handler } De la misma manera, puedes sobrescribir el manejador de `HTTPException`. Por ejemplo, podrías querer devolver un response de texto plano en lugar de JSON para estos errores:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.7K bytes - Click Count (0) -
.teamcity/subprojects.json
"path": "platforms/software/reporting", "unitTests": true, "functionalTests": true, "crossVersionTests": false }, { "name": "request-handler-worker", "path": "platforms/core-execution/request-handler-worker", "unitTests": true, "functionalTests": false, "crossVersionTests": false }, { "name": "resources",
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 18 18:40:11 GMT 2025 - 37.5K bytes - Click Count (0) -
docs/de/llm-prompt.md
* «the enumeration»: «die Enumeration» * «the enum»: «das Enum» * «the engine»: «die Engine» * «the error response»: «die Error-Response» * «the event»: «das Event» * «the exception»: «die Exception» * «the exception handler»: «der Exceptionhandler» * «the form model»: «das Formularmodell» * «the form body»: «der Formularbody» * «the header»: «der Header» * «the headers» (plural): «die Header» * «in headers» (plural): «in Headern»
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 09:39:53 GMT 2025 - 11.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
private class OutFrame( val sequence: Int, val start: Long, val truncated: Boolean, ) class InFrame( val sequence: Int, val reader: Http2Reader, ) : Http2Reader.Handler { @JvmField var type = -1 var clearPrevious = false @JvmField var outFinished = false @JvmField var inFinished = false @JvmField var streamId = 0
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0)