Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 530 for IOException (0.05 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.Authenticator
    import okhttp3.Credentials
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    class Authenticate {
      private val client =
        OkHttpClient
          .Builder()
          .authenticator(
            object : Authenticator {
              @Throws(IOException::class)
              override fun authenticate(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

          throws IOException {
        testStreamingEncodes(encoding, decoded, encoded);
        testStreamingDecodes(encoding, encoded, decoded);
      }
    
      @GwtIncompatible // Writer
      private static void testStreamingEncodes(BaseEncoding encoding, String decoded, String encoded)
          throws IOException {
        StringWriter writer = new StringWriter();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  3. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

         *
         * @param node the XML node to write
         * @param writer the writer to write to
         * @throws IOException if there is an error writing the XML
         */
        protected abstract void doWrite(XmlNode node, Writer writer) throws IOException;
    
        /**
         * Implementation method for merging two XML nodes.
         *
         * @param dominant the dominant (higher priority) XML node
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MojoExecutionXPathContainer.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    import java.io.IOException;
    import java.util.Iterator;
    
    import org.apache.commons.jxpath.JXPathContext;
    import org.apache.commons.jxpath.JXPathNotFoundException;
    import org.apache.commons.jxpath.ri.JXPathContextReferenceImpl;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.charset.StandardCharsets;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 11:31:00 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.fail
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.security.cert.X509Certificate
    import java.util.Arrays
    import java.util.concurrent.CountDownLatch
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.zip.Deflater
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.DeflaterSink
    
    private val EMPTY_DEFLATE_BLOCK = "000000ffff".decodeHex()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/guide/PostExample.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.guide;
    
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public class PostExample {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(toolchains, "toolchains cannot be null");
    
            try (Writer out = output) {
                new MavenToolchainsStaxWriter().write(out, toolchains.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException("Error writing toolchains", e);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

     * under the License.
     */
    package org.apache.maven.model.superpom;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.maven.model.InputSource;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelProcessor;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top