Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for url (0.14 sec)

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

     * on an SMB server addressed by the URL parameter. See {@link
     * jcifs.smb1.smb1.SmbFile} for a detailed description and examples of
     * the smb URL syntax.
     *
     * @param url An smb URL string representing the file to write to
     */
    
        public SmbFileOutputStream( String url ) throws SmbException, MalformedURLException, UnknownHostException {
            this( url, false );
        }
    
    /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/Handler.java

            return DEFAULT_HTTP_PORT;
        }
    
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(),
                    getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection)
                    url.openConnection());
        }
    
        private static URLStreamHandler getDefaultStreamHandler(String protocol)
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

     */
    
    public abstract class NtlmAuthenticator {
    
        private static NtlmAuthenticator auth;
    
        private String url;
        private SmbAuthException sae;
    
        private void reset() {
            url = null;
            sae = null;
        }
    
    /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * Get a handle to a service
         * 
         * @param url
         * @param tc
         *            context to use
         * @return a DCERPC handle for the given url
         * @throws MalformedURLException
         * @throws DcerpcException
         */
        public static DcerpcHandle getHandle ( String url, CIFSContext tc ) throws MalformedURLException, DcerpcException {
            return getHandle(url, tc, false);
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/NamingTest.java

                    }
    
                    assertArrayEquals(expect, found);
    
                    // check that the name can be resolved via URL
                    URL purl = d.getURL();
                    for ( String name : names ) {
                        URL u = new URL(purl, name);
                        try ( SmbResource tf = new SmbFile(u, d.getContext()) ) {
                            assertTrue("File exists " + u, tf.exists());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * as a file or directory from a <tt>URL</tt> object.
     *
     * @param   url The URL of the target resource
     */
        public SmbFile( URL url ) {
            this( url, new NtlmPasswordAuthentication( url.getUserInfo() ));
        }
    /**
     * Constructs an SmbFile representing a resource on an SMB network such
     * as a file or directory from a <tt>URL</tt> object and an
     * <tt>NtlmPasswordAuthentication</tt> object.
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  7. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                }
                if (user == null) {
                    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;
                        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/Handler.java

    package jcifs.smb;
    
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.SmbConstants;
    import jcifs.context.SingletonContext;
    
    
    /**
     * URL handler for transparent smb:// URL handling
     * 
     */
    public class Handler extends URLStreamHandler {
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 06 09:14:24 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

            this.pipeType = pipeType;
            type = TYPE_NAMED_PIPE;
        }
        public SmbNamedPipe( String url, int pipeType, NtlmPasswordAuthentication auth )
                                throws MalformedURLException, UnknownHostException {
            super( url, auth );
            this.pipeType = pipeType;
            type = TYPE_NAMED_PIPE;
        }
        public SmbNamedPipe( URL url, int pipeType, NtlmPasswordAuthentication auth )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/Config.java

         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <tt>java.net.URL</tt> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote><pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.<init>(URL.java:480)
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
Back to top