Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for url (0.13 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/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)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * an SMB server represented by the {@link jcifs.smb.SmbFile} parameter. See
         * {@link jcifs.smb.SmbFile} for a detailed description and examples of
         * the smb URL syntax.
         *
         * @param file
         *            An <code>SmbFile</code> specifying the file to write to
         * @throws SmbException
         */
        public SmbFileOutputStream ( SmbFile file ) throws SmbException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/Handler.java

            return DEFAULT_HTTP_PORT;
        }
    
    
        @Override
        protected URLConnection openConnection ( URL url ) throws IOException {
            url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection(), this.transportContext);
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/CIFSContextWrapper.java

         * 
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get ( String url ) throws CIFSException {
            try {
                return new SmbFile(url, this);
            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/context/BaseContext.java

         * 
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get ( String url ) throws CIFSException {
            try {
                return new SmbFile(url, this);
            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
Back to top