Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for openConnection (0.09 sec)

  1. src/test/java/jcifs/tests/ContextConfigTest.java

        }
    
    
        @Test
        public void testURLHandlerRegistration () throws IOException {
            Config.registerSmbURLHandler();
            URL u = new URL("smb://localhost/test");
            assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class)));
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testLegacyURLConstructor () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                            }
                        }
                    } else if ("jar".equals(resource.getProtocol())) {
                        final JarURLConnection jarURLConnection = (JarURLConnection) resource.openConnection();
                        try (JarFile jarFile = jarURLConnection.getJarFile()) {
                            final Enumeration<JarEntry> entries = jarFile.entries();
                            while (entries.hasMoreElements()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         * @return 指定されたJarファイルを読み取るための<code>JarFile</code>
         */
        public static JarFile toJarFile(final URL jarUrl) {
            assertArgumentNotNull("jarUrl", jarUrl);
    
            final URLConnection con = URLUtil.openConnection(jarUrl);
            if (con instanceof JarURLConnection) {
                return JarURLConnectionUtil.getJarFile((JarURLConnection) con);
            }
            return create(new File(toJarFilePath(jarUrl)));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_1x.md

       the way the hostname verifier was selected.
     * Fix: Locking bug in SpdyConnection.
     * Fix: Ignore null header values (for compatibility with HttpURLConnection).
     * Add URLStreamHandlerFactory support so that `URL.openConnection()` uses
       OkHttp.
     * Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers.
       Use `X-Android-Transports` to write the preferred transports and
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
            return message;
        }
    
        private void reconnect() throws IOException {
            connection = (HttpURLConnection) connection.getURL().openConnection();
            connection.setRequestMethod(method);
            headerFields = null;
            Iterator properties = requestProperties.entrySet().iterator();
            while (properties.hasNext()) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                ssf = ( (HttpsURLConnection) this.connection ).getSSLSocketFactory();
            }
    
            this.connection = (HttpURLConnection) this.connection.getURL().openConnection();
    
            if ( this.connection instanceof HttpsURLConnection ) {
                if ( hv != null ) {
                    ( (HttpsURLConnection) this.connection ).setHostnameVerifier(hv);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      private val requestQueue = LinkedBlockingQueue<RecordedRequest>()
      private val openClientSockets =
        Collections.newSetFromMap(ConcurrentHashMap<Socket, Boolean>())
      private val openConnections =
        Collections.newSetFromMap(ConcurrentHashMap<Http2Connection, Boolean>())
    
      private val atomicRequestCount = AtomicInteger()
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        }
    
      private fun AddressState.scheduleOpener() {
        queue.schedule(
          object : Task("$okHttpName ConnectionPool connection opener") {
            override fun runOnce(): Long = openConnections(this@scheduleOpener)
          },
        )
      }
    
      /**
       * Holding the lock of the connection being added or removed when mutating this, and check its
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg crypto/x509/pkix, type Name struct, ExtraNames []AttributeTypeAndValue
    pkg database/sql, method (*DB) Stats() DBStats
    pkg database/sql, type DBStats struct
    pkg database/sql, type DBStats struct, OpenConnections int
    pkg debug/dwarf, const ClassAddress = 1
    pkg debug/dwarf, const ClassAddress Class
    pkg debug/dwarf, const ClassBlock = 2
    pkg debug/dwarf, const ClassBlock Class
    pkg debug/dwarf, const ClassConstant = 3
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top