Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for conn (1.39 sec)

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

         *
         * @param conn
         *            {@link JarURLConnection}. Must not be {@literal null}.
         * @return {@link JarFile}
         */
        public static JarFile getJarFile(final JarURLConnection conn) {
            assertArgumentNotNull("conn", conn);
    
            try {
                return conn.getJarFile();
            } catch (final IOException e) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/HandlerTest.java

            URL url = new URL(null, "smb://example-host/share/", new Handler());
    
            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile");
            SmbFile file = (SmbFile) conn;
            assertEquals(url, file.getURL(), "Returned SmbFile should wrap the given URL");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnectionTrace.java

     *
     */
    class SmbTreeConnectionTrace extends SmbTreeConnection {
    
        SmbTreeConnectionTrace(final CIFSContext ctx) {
            super(ctx);
        }
    
        SmbTreeConnectionTrace(final SmbTreeConnection conn) {
            super(conn);
        }
    
        @Override
        protected void finalize() throws Throwable {
            checkRelease();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.conn;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    public class IdnDnsResolverTest extends PlainTestCase {
    
        public void test_toAscii() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Arrange - Create URL with handler
            URL url = new URL(null, "smb://host/share", handler);
    
            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile);
        }
    
        @Test
        @DisplayName("openConnection throws NPE for null URL")
        void testOpenConnectionWithNullUrl() {
            // Act & Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http;
    
    import java.util.concurrent.TimeUnit;
    
    import org.apache.http.conn.HttpClientConnectionManager;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.timer.TimeoutTarget;
    
    /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.conn;
    
    import java.io.UnsupportedEncodingException;
    import java.net.IDN;
    import java.net.InetAddress;
    import java.net.URLDecoder;
    import java.net.UnknownHostException;
    
    import org.apache.http.conn.DnsResolver;
    
    /**
     * The {@code IdnDnsResolver} class implements the {@code DnsResolver} interface
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/main/assemblies/files/service.bat

    set unit=%value:~-1%
    rem assume the unit is specified
    set conv=%value:~0,-1%
    
    if "%unit%" == "k" goto kilo
    if "%unit%" == "K" goto kilo
    if "%unit%" == "m" goto mega
    if "%unit%" == "M" goto mega
    if "%unit%" == "g" goto giga
    if "%unit%" == "G" goto giga
    
    rem no unit found, must be bytes; consider the whole value
    set conv=%value%
    rem convert to KB
    set /a conv=%conv% / 1024
    :kilo
    rem convert to MB
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
            ResourceTraversalUtil.forEach(con.getJarFile(), (ResourceHandler) (path, is) -> {
                try {
                    if (count < 10) {
                        System.out.println(path);
                    }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
            ClassTraversalUtil.forEach(con.getJarFile(), (ClassHandler) (packageName, shortClassName) -> {
                if (count < 10) {
                    System.out.println(ClassUtil.concatName(packageName, shortClassName));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top