Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for url (0.34 sec)

  1. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.Authenticator;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    import java.net.ProtocolException;
    import java.net.URL;
    import java.net.URLDecoder;
    import java.security.GeneralSecurityException;
    import java.security.Permission;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Iterator;
    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)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            byte[] buf = new byte[8192];
            String url, type;
            int n;
    
            try (SmbFileInputStream in = new SmbFileInputStream(file);
                    ServletOutputStream out = resp.getOutputStream()) {
                url = file.getPath();
    
                resp.setContentType( "text/plain" );
    
                if(( n = url.lastIndexOf( '.' )) > 0 &&
                        ( type = url.substring( n + 1 )) != null &&
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

     * 
     * Invariant:
     * A directory resource must have a trailing slash/backslash for both URL and UNC path at all times.
     * 
     * @author mbechler
     *
     */
    class SmbResourceLocatorImpl implements SmbResourceLocatorInternal, Cloneable {
    
        private static final Logger log = LoggerFactory.getLogger(SmbResourceLocatorImpl.class);
    
        private final URL url;
    
    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)
  4. src/main/java/jcifs/http/NetworkExplorer.java

            ServletOutputStream out = resp.getOutputStream();
            String url;
            int n;
            try ( SmbFileInputStream in = new SmbFileInputStream(file) ) {
                url = file.getLocator().getPath();
                resp.setContentType("text/plain");
                resp.setContentType(URLConnection.guessContentTypeFromName(url));
                resp.setHeader("Content-Length", file.length() + "");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  5. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

        CIFSContext getContext ();
    
    
        /**
         * Returns the last component of the target URL. This will
         * effectively be the name of the file or directory represented by this
         * <code>SmbResource</code> or in the case of URLs that only specify a server
         * or workgroup, the server or workgroup will be returned. The name of
         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/TimeoutTest.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.InetAddress;
    import java.net.MalformedURLException;
    import java.net.ServerSocket;
    import java.net.URL;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    import javax.net.ServerSocketFactory;
    
    import org.junit.Test;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

                    Assume.assumeTrue(false);
                }
                throw e;
            }
        }
    
    
        protected void testCredentialUrl ( String url, String user, String pass, String dom ) throws SmbException, MalformedURLException {
            try ( SmbFile f = new SmbFile(url) ) {
                Credentials creds = f.getContext().getCredentials();
    
                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        private byte[] tmp = new byte[8];
        private SmbComWriteAndXResponse write_andx_resp = null;
    
        public SmbRandomAccessFile( String url, String mode, int shareAccess )
                throws SmbException, MalformedURLException, UnknownHostException {
            this( new SmbFile( url, "", null, shareAccess ), mode );
        }
        public SmbRandomAccessFile( SmbFile file, String mode )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
Back to top