Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 215 for Protocol (0.98 sec)

  1. 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)
  2. src/test/java/jcifs/http/HandlerTest.java

            handlers.clear();
        }
    
        /**
         * Pre-populates the protocol handlers cache with mock handlers for testing.
         * This avoids the need for actual protocol handlers to be available.
         */
        private void setupMockProtocolHandlers() throws Exception {
            Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS");
            handlersField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    /**
     * Interface for SMB protocol negotiation request messages.
     * Represents the client's request to negotiate SMB protocol version and capabilities
     * with the server, including security requirements like message signing.
     *
     * @author mbechler
     */
    public interface SmbNegotiationRequest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        }
    
        @Test
        @DisplayName("Should handle null protocol ID")
        void testNullProtocolId() {
            // Protocol ID is a constant in transform header, not settable
            // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID
            assertTrue(true);
        }
    
        @Test
        @DisplayName("Should handle invalid protocol ID length")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/util/SMBUtil.java

     */
    package jcifs.internal.util;
    
    import jcifs.SmbConstants;
    
    /**
     * SMB protocol utility class providing low-level data encoding and decoding operations.
     * Contains methods for reading and writing various data types (integers, strings, timestamps)
     * in SMB protocol format, handling endianness and data type conversions.
     *
     * @author mbechler
     */
    public class SMBUtil {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/SingletonContext.java

            SingletonContext.getInstance();
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            } else if (pkgs.indexOf("jcifs") == -1) {
                pkgs += "|jcifs";
                System.setProperty("java.protocol.handler.pkgs", pkgs);
            }
        }
    
        /**
         *
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

         *
         * @param protocol
         *            The URL protocol. Must not be {@literal null} or empty.
         * @param factory
         *            The {@link Traverser} factory for the protocol. Must not be {@literal null}.
         */
        public static void addTraverserFactory(final String protocol, final TraverserFactory factory) {
            assertArgumentNotEmpty("protocol", protocol);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top