Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for Protocol (0.23 sec)

  1. src/main/java/jcifs/smb1/http/Handler.java

            synchronized (PROTOCOL_HANDLERS) {
                URLStreamHandler handler = (URLStreamHandler) PROTOCOL_HANDLERS.get(protocol);
                if (handler != null) {
                    return handler;
                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

            final String value = System.getProperty("java.protocol.handler.pkgs");
            if (StringUtil.isEmpty(value)) {
                buf.append("org.codelibs.fess.net.protocol");
            } else if (!value.contains("org.codelibs.fess.net.protocol")) {
                buf.append("|org.codelibs.fess.net.protocol");
            }
            if (buf.length() > 0) {
                System.setProperty("java.protocol.handler.pkgs", buf.toString());
            }
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. README.md

    <dependency>
        <groupId>org.codelibs</groupId>
        <artifactId>jcifs</artifactId>
        <version>2.1.39</version>
    </dependency>
    ```
    
    
    
    ## Features
    
    ### Protocol Support
    The library supports a full range of SMB protocols with automatic negotiation:
    
    **Supported Protocols:**
    - **SMB1/CIFS**: Legacy support via `jcifs.smb1/` package
    - **SMB 2.0.2**: Windows Vista+ (0x0202)
    - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/SingletonContextTest.java

            // Test registerSmbURLHandler when java.protocol.handler.pkgs is null
            System.clearProperty("java.protocol.handler.pkgs");
            SingletonContext.registerSmbURLHandler();
            assertEquals("jcifs", System.getProperty("java.protocol.handler.pkgs"));
        }
    
        @Test
        void testRegisterSmbURLHandlerWhenPkgsDoesNotContainJcifs() {
            // Test registerSmbURLHandler when java.protocol.handler.pkgs does not contain "jcifs"
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            if (StringUtil.isNotBlank(value)) {
                return check(protocols, value);
            }
            return true;
        }
    
        /**
         * Checks if the given value matches any of the specified protocols.
         *
         * @param protocols the allowed protocols
         * @param value the URI string to validate
         * @return true if the value matches allowed protocols, false otherwise
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        // Getters and setters
    
        /**
         * Get the minimum SMB Direct protocol version
         *
         * @return minimum protocol version
         */
        public int getMinVersion() {
            return minVersion;
        }
    
        /**
         * Set the minimum SMB Direct protocol version
         *
         * @param minVersion minimum protocol version
         */
        public void setMinVersion(int minVersion) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/URLUtil.java

            }
        }
    
        /**
         * Returns the normalized protocol.
         *
         * @param protocol
         *            The protocol. Must not be {@literal null} or empty.
         * @return The normalized protocol.
         */
        public static String toCanonicalProtocol(final String protocol) {
            assertArgumentNotEmpty("protocol", protocol);
    
            final String canonicalProtocol = CANONICAL_PROTOCOLS.get(protocol);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

     * This message is sent to negotiate SMB Direct protocol parameters.
     */
    public class SmbDirectNegotiateRequest {
    
        // Protocol constants
        /** Minimum supported SMB Direct protocol version (1.0) */
        public static final int MIN_VERSION = 0x0100; // SMB Direct 1.0
        /** Maximum supported SMB Direct protocol version (1.0) */
        public static final int MAX_VERSION = 0x0100; // SMB Direct 1.0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/Handler.java

            synchronized (PROTOCOL_HANDLERS) {
                URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol);
                if (handler != null) {
                    return handler;
                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                return "[" + compressed + "]";
            }
            return address.getHostAddress();
        }
    
        /**
         * Builds a URL from protocol, InetAddress, port, and path.
         * Properly handles IPv6 addresses by wrapping them in brackets.
         *
         * @param protocol the protocol (e.g., "http", "https")
         * @param address the InetAddress for the host
         * @param port the port number
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top