Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 40 for urlConnection (0.08 seconds)

  1. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

            final InputStream is = ResourceUtil.getResourceAsStream(path);
            try {
                final String mimetype = URLConnection.guessContentTypeFromStream(is);
                if (mimetype != null) {
                    return mimetype;
                }
                return URLConnection.guessContentTypeFromName(path);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. okhttp-urlconnection/src/main/java9/module-info.java

    @SuppressWarnings("module")
    module okhttp3.urlconnection {
      requires okhttp3;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 81 bytes
    - Click Count (0)
  3. docs/changelogs/changelog_3x.md

     *  **The Apache HTTP client and HttpURLConnection APIs are deprecated.** They
        continue to work as they always have, but we're moving everything to the new
        OkHttp 3 API. The `okhttp-apache` and `okhttp-urlconnection` modules should
        be only be used to accelerate a transition to OkHttp's request/response API.
        These deprecated modules will be dropped in an upcoming OkHttp 3.x release.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/resources/forbidden/es-all-signatures.txt

    java.lang.invoke.MethodHandle#invokeWithArguments(java.lang.Object[])
    java.lang.invoke.MethodHandle#invokeWithArguments(java.util.List)
    
    @defaultMessage Don't open socket connections
    java.net.URL#openStream()
    java.net.URLConnection#connect()
    java.net.URLConnection#getInputStream()
    java.net.Socket#connect(java.net.SocketAddress)
    java.net.Socket#connect(java.net.SocketAddress, int)
    java.nio.channels.SocketChannel#open(java.net.SocketAddress)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 15:21:26 GMT 2021
    - 3.8K bytes
    - Click Count (0)
  5. build-logic/src/main/kotlin/okhttp.dokka-multimodule-conventions.gradle.kts

        add("dokka", project(":okhttp-java-net-cookiejar"))
        add("dokka", project(":logging-interceptor"))
        add("dokka", project(":okhttp-sse"))
        add("dokka", project(":okhttp-tls"))
        add("dokka", project(":okhttp-urlconnection"))
        add("dokka", project(":okhttp-zstd"))
        add("dokka", project(":mockwebserver"))
        add("dokka", project(":mockwebserver3"))
        add("dokka", project(":mockwebserver3-junit4"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 822 bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

     */
    package org.codelibs.core.net;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNull;
    
    import java.net.URLConnection;
    
    import org.codelibs.core.exception.EmptyArgumentException;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.core.lang.ClassUtil;
    import org.junit.Rule;
    import org.junit.Test;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

     */
    
    package jcifs.http;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.net.MalformedURLException;
    import java.net.URLConnection;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.GregorianCalendar;
    import java.util.LinkedList;
    import java.util.ListIterator;
    import java.util.Properties;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        call.cancel()
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
      @Test
      fun defaultRequestProperty() {
        URLConnection.setDefaultRequestProperty("X-testSetDefaultRequestProperty", "A")
        assertThat(URLConnection.getDefaultRequestProperty("X-setDefaultRequestProperty")).isNull()
      }
    
      /**
       * Reads `count` characters from the stream. If the stream is exhausted before `count`
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  9. .teamcity/.mvn/wrapper/maven-wrapper.jar

    configureProxyAuthen(); private void configureAuthenticat(); public void download(java.net.URI, java.io.File) throws Exception; private void downloadInternal(java.net.URI, java.io.File) throws Exception; private void addBasicAuthenticati(java.net.URI, java.net.URLConnection) throws java.io.IOException; private String base64Encode(String); private String calculateUserInfo(java.net.URI); private String calculateUserAgent(); } org/apache/maven/wrapper/Downloader.class package org.apache.maven.wrapper; public abstract...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 49.5K bytes
    - Click Count (0)
  10. gradle/wrapper/gradle-wrapper.jar

    convertSystemPropert(java.util.Properties); public void Download(Logger, java.util.HashMap, int); public static java.net.URI safeUri(java.net.URI); public final void configureProxyAuthen(); public final void addAuthentication(java.net.URI, java.net.URLConnection); public final String calculateUserAgent(); } org/gradle/wrapper/GradleUserHomeLookup.class package org.gradle.wrapper; public abstract class GradleUserHomeLookup { public static final String DEFAULT_GRADLE_USER_HOME; static void <clinit>(); }...
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 04 20:34:40 GMT 2026
    - 47.8K bytes
    - Click Count (1)
Back to Top