Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getPort (0.23 sec)

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

            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if( port == -1 ) {
                port = getDefaultPort();
            }
            setURL( u, "smb", u.getHost(), port,
                        u.getAuthority(), u.getUserInfo(),
                        path, u.getQuery(), null );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    if (!allowUserInteraction) return null;
                    try {
                        URL url = getURL();
                        String protocol = url.getProtocol();
                        int port = url.getPort();
                        if (port == -1) {
                            port = "https".equalsIgnoreCase(protocol) ? 443 : 80;
                        }
                        PasswordAuthentication auth =
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceLocator.java

         * <code>null</code> is returned.
         * 
         * @return URL to the DFS volume
         */
        String getDfsPath ();
    
    
        /**
         * @return the transport port, if specified
         */
        int getPort ();
    
    
        /**
         * @return the original URL
         */
        URL getURL ();
    
    
        /**
         * @return resolved server address
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        }
        public int getPort() {
            return super.getPort();
        }
        public InetAddress getLocalAddress() {
            return super.getLocalAddress();
        }
        public int getLocalPort() {
            return super.getLocalPort();
        }
        public String toString() {
            return "NbtSocket[addr=" + address +
                    ",port=" + super.getPort() +
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Handler.java

            path = u.getPath();
            ref = u.getRef();
            if ( ref != null ) {
                path += '#' + ref;
            }
            port = u.getPort();
            if ( port == -1 ) {
                port = getDefaultPort();
            }
            setURL(u, "smb", u.getHost(), port, u.getAuthority(), u.getUserInfo(), path, u.getQuery(), null);
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 09:14:24 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getPort()
         */
        @Override
        public int getPort () {
            return this.url.getPort();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getURL()
         */
        @Override
        public URL getURL () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                            return null;
                        try {
                            URL u = getURL();
                            String protocol = u.getProtocol();
                            int port = u.getPort();
                            if ( port == -1 ) {
                                port = "https".equalsIgnoreCase(protocol) ? 443 : 80;
                            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    wildcard = dff.wildcard;
                searchAttributes = dff.attributes;
            }
            SmbResourceLocator locator = parent.getLocator();
            if ( locator.getURL().getHost().isEmpty() ) {
                // smb:// -> enumerate servers through browsing
                Address addr;
                try {
                    addr = locator.getAddress();
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/DfsTest.java

    
        /**
         * @return
         * @throws URISyntaxException
         */
        private boolean isStandalone () throws URISyntaxException {
            URI uri = new URI(getTestShareURL());
            return uri.getHost().equals(getTestServer());
        }
    
    
        @Test
        public void resolveShare () throws CIFSException, URISyntaxException {
            String dfsTestSharePath = getDFSTestSharePath();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

                        }
                        this.exclusiveTransport = this.ctx.getTransportPool()
                                .getSmbTransport(this.ctx, host, loc.getPort(), true, loc.shouldForceSigning()).unwrap(SmbTransportInternal.class);
                        SmbTransportInternal trans = this.exclusiveTransport;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
Back to top