Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for ProtocolException (0.44 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

    import assertk.assertions.isFalse
    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import assertk.assertions.isTrue
    import java.io.EOFException
    import java.io.IOException
    import java.net.ProtocolException
    import java.net.SocketTimeoutException
    import java.util.Random
    import kotlin.test.assertFailsWith
    import okhttp3.FailingCall
    import okhttp3.Headers
    import okhttp3.Headers.Companion.headersOf
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.Authenticator;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    import java.net.ProtocolException;
    import java.net.URL;
    import java.net.URLDecoder;
    import java.security.GeneralSecurityException;
    import java.security.Permission;
    import java.util.ArrayList;
    import java.util.Collections;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          val byteRead = inputStream.read()
          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        }
      }
    
      private fun headersToList(response: MockResponse): List<String> {
        val headers = response.headers
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          val byteRead = inputStream.read()
          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        }
      }
    
      private fun headersToList(response: MockResponse.Builder): List<String> {
        val headers = response.build().headers
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

    import java.io.InputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    import java.net.Authenticator;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    import java.net.ProtocolException;
    import java.net.URL;
    import java.net.URLDecoder;
    
    import java.security.Permission;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Iterator;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/DuplexTest.kt

    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.net.HttpURLConnection
    import java.net.ProtocolException
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.Executors
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.net.ConnectException
    import java.net.HttpURLConnection
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.Socket
    import java.net.UnknownServiceException
    import java.security.cert.X509Certificate
    import java.util.concurrent.TimeUnit
    import javax.net.ssl.SSLPeerUnverifiedException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package mockwebserver3
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.ServerSocket
    import java.net.Socket
    import java.net.SocketException
    import java.security.SecureRandom
    import java.security.cert.CertificateException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    import java.io.InputStream
    import java.net.ConnectException
    import java.net.CookieManager
    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.PasswordAuthentication
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.ServerSocket
    import java.net.Socket
    import java.net.SocketAddress
    import java.net.SocketException
    import java.net.SocketTimeoutException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top