Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for url (0.12 sec)

  1. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  2. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  3. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     * an SMB server addressed by the <code>url</code> 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 read from
     */
    
        public SmbFileInputStream( String url ) throws SmbException, MalformedURLException, UnknownHostException {
            this( new SmbFile( url ));
        }
    
    /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Handler.java

        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
        public URLConnection openConnection( URL u ) throws IOException {
            return new SmbFile( u );
        }
        protected void parseURL( URL u, String spec, int start, int limit ) {
            String host = u.getHost();
            String path, ref;
            int port;
    
            if( spec.equals( "smb1://" )) {
    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)
  6. src/main/java/jcifs/netbios/Lmhosts.java

                    if ( line.startsWith("#INCLUDE ") ) {
                        line = line.substring(line.indexOf('\\'));
                        String url = "smb:" + line.replace('\\', '/');
    
                        try ( InputStreamReader rdr = new InputStreamReader(new SmbFileInputStream(url, tc)) ) {
                            if ( this.alt > 0 ) {
                                try {
                                    populate(rdr, tc);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  7. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

        private boolean smb2;
    
    
        /**
         * @param url
         * @param tc
         *            context to use
         * @throws SmbException
         * @throws MalformedURLException
         */
        @SuppressWarnings ( "resource" )
        public SmbFileInputStream ( String url, CIFSContext tc ) throws SmbException, MalformedURLException {
            this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true);
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  9. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  10. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.8K bytes
    - Viewed (0)
Back to top