Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Wadler (0.17 sec)

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

                URLStreamHandler handler = (URLStreamHandler)
                        PROTOCOL_HANDLERS.get(protocol);
                if (handler != null) return handler;
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    String path = System.getProperty(HANDLER_PKGS_PROPERTY);
    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)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

                throw ioe;
        }
        public void run() {
            Thread run_thread = Thread.currentThread();
            Exception ex0 = null;
    
            try {
                /* We cannot synchronize (run_thread) here or the caller's
                 * thread.wait( timeout ) cannot reaquire the lock and
                 * return which would render the timeout effectively useless.
                 */
                doConnect();
            } catch( Exception ex ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

            return disconnect(hard, true);
        }
    
    
        /**
         * Disconnect the transport
         * 
         * @param hard
         * @param inUse
         *            whether the caller is holding a usage reference on the transport
         * @return whether conenction was in use
         * @throws IOException
         */
        public synchronized boolean disconnect ( boolean hard, boolean inUse ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/Handler.java

                URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol);
                if ( handler != null )
                    return handler;
                if ( factory != null ) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if ( handler == null ) {
                    String path = System.getProperty(HANDLER_PKGS_PROPERTY);
    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)
  5. src/main/java/jcifs/smb1/smb1/Handler.java

    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import java.io.PrintStream;
    
    public class Handler extends URLStreamHandler {
    
        static final URLStreamHandler SMB_HANDLER = new Handler();
    
        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
        public URLConnection openConnection( URL u ) throws IOException {
    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/context/CIFSContextWrapper.java

    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.smb.Handler;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    
    
    /**
     * @author mbechler
     *
     */
    public class CIFSContextWrapper implements CIFSContext {
    
        private final CIFSContext delegate;
        private Handler wrappedHandler;
    
    
        /**
         * @param delegate
    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)
  7. src/main/java/jcifs/context/BaseContext.java

    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.netbios.NameServiceClientImpl;
    import jcifs.smb.BufferCacheImpl;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.DfsImpl;
    import jcifs.smb.Handler;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SIDCacheImpl;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbTransportPoolImpl;
    
    
    /**
     * @author mbechler
     *
    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)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                }
                while ( len > blockSize && n == r );
                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
                // - otherwise the caller would need to figure out the block size, or otherwise might end up with very small
                // reads
                return (int) ( this.fp - start );
            }
        }
    
    
        /**
    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/https/Handler.java

    package jcifs.smb1.https;
    
    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTPS handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends jcifs.smb1.http.Handler {
    
        /**
         * The default HTTPS port (<code>443</code>).
         */
        public static final int DEFAULT_HTTPS_PORT = 443;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  10. 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);
            }
        }
    
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 08:53:08 GMT 2019
    - 4.2K bytes
    - Viewed (0)
Back to top