Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 851 for IOException (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.IOException
    import okhttp3.Headers
    import okhttp3.internal.delimiterOffset
    import okhttp3.internal.trimSubstring
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/RequestBodyTest.kt

          assertThat(buffer.readUtf8()).isEqualTo("Hello")
    
          assertThrows(IOException::class.java) {
            requestBody.writeTo(Buffer())
          }
        }
      }
    
      @Test
      fun testFileDescriptorAfterClose() {
        val closedRequestBody = assertOnFileDescriptor { it.toRequestBody() }
    
        assertThrows(IOException::class.java) {
          closedRequestBody.writeTo(Buffer())
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/Progress.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.ResponseBody;
    import okio.Buffer;
    import okio.BufferedSource;
    import okio.ForwardingSource;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/jar/JarFileUtil.java

     */
    package org.codelibs.core.jar;
    
    import static org.codelibs.core.log.Logger.format;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.jar.JarFile;
    import java.util.zip.ZipEntry;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipFile;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.io.FileUtil;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

        private var currentPart: PartSource? = null
    
        @Throws(IOException::class)
        constructor(response: ResponseBody) : this(
          source = response.source(),
          boundary =
            response.contentType()?.parameter("boundary")
              ?: throw ProtocolException("expected the Content-Type to have a boundary parameter"),
        )
    
        @Throws(IOException::class)
        fun nextPart(): Part? {
          check(!closed) { "closed" }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HandshakeTest.kt

    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.IOException
    import java.security.cert.Certificate
    import kotlin.test.assertFailsWith
    import okhttp3.Handshake.Companion.handshake
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    
    class HandshakeTest {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/test/net/protocol/xxx3/Handler.java

     */
    package org.codelibs.fess.test.net.protocol.xxx3;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "test";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 1007 bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/StreamResetException.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    
    /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */
    class StreamResetException(
      @JvmField val errorCode: ErrorCode,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 869 bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

         * @throws IOException
         */
        SID getOwnerGroup () throws IOException;
    
    
        /**
         * Return the owner group SID for this file or directory
         * 
         * @param resolve
         *            whether to resolve the group name
         * @return the owner group SID, <code>null</code> if not present
         * @throws IOException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
Back to top