- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ProtocolException (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt
throw ProtocolException("Unexpected status line: $statusLine") } val httpMinorVersion = statusLine[7] - '0' codeStart = 9 protocol = when (httpMinorVersion) { 0 -> Protocol.HTTP_1_0 1 -> Protocol.HTTP_1_1 else -> throw ProtocolException("Unexpected status line: $statusLine") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocksProxy.kt
fromSink.emit() } else -> throw ProtocolException("unsupported method: $selectedMethod") } } private fun acceptCommand( fromAddress: InetAddress, fromSource: BufferedSource, fromSink: BufferedSink, ) { // Read the command. val version = fromSource.readByte() and 0xff if (version != VERSION_5) throw ProtocolException("unexpected version: $version")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.connection import java.io.InterruptedIOException import java.net.ProtocolException import java.security.cert.CertificateException import javax.net.ssl.SSLException import javax.net.ssl.SSLHandshakeException import javax.net.ssl.SSLPeerUnverifiedException import okio.IOException
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.connection import java.io.IOException import java.net.ProtocolException import java.net.SocketException import okhttp3.EventListener import okhttp3.Headers import okhttp3.Request import okhttp3.Response import okhttp3.ResponseBody import okhttp3.internal.http.ExchangeCodec
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt
* limitations under the License. */ package okhttp3.internal.http import assertk.assertThat import assertk.assertions.isEqualTo import java.net.ProtocolException import kotlin.test.assertFailsWith import okhttp3.Protocol import okhttp3.internal.http.StatusLine.Companion.parse import org.junit.jupiter.api.Test class StatusLineTest { @Test fun parse() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal.der import java.net.ProtocolException /** * Handles basic types that always use the same tag. This supports optional types and may set a type * hint for further adapters to process. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http import java.io.IOException import java.net.ProtocolException import okhttp3.Interceptor import okhttp3.Response import okhttp3.internal.connection.Exchange import okhttp3.internal.http2.ConnectionShutdownException import okhttp3.internal.stripBody import okio.buffer
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package mockwebserver3.internal.http2 import java.io.File import java.io.IOException import java.net.ProtocolException import java.net.ServerSocket import java.net.Socket import java.util.logging.Level import java.util.logging.Logger import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import okhttp3.Protocol
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import java.io.IOException import java.net.ProtocolException import java.util.Locale import java.util.concurrent.TimeUnit import okhttp3.Headers import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request import okhttp3.Response
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0)