Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for URL (0.12 sec)

  1. src/test/java/jcifs/tests/FileLocationTest.java

                }
            }
        }
    
    
        @Test
        @Ignore
        public void testURLCharacter () throws Exception {
            // ? is invalid in filenames, still this should not matter for the url
            try ( SmbResource r = new SmbFile("smb://0.0.0.0/asdasf/", getContext());
                  SmbResource c = new SmbFile(r, "test?#foo") ) {
                assertEquals("test?#foo", c.getName());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

         * as a file or directory from a <tt>URL</tt> object.
         *
         * @param url
         *            The URL of the target resource
         * @throws MalformedURLException
         */
        @Deprecated
        public SmbFile ( URL url ) throws MalformedURLException {
            this(url, SingletonContext.getInstance().withCredentials(new NtlmPasswordAuthentication(SingletonContext.getInstance(), url.getUserInfo())));
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbNamedPipe.java

         * parameter. The pipeType parameter should be at least one of
         * the <code>PIPE_TYPE</code> flags combined with the bitwise OR
         * operator <code>|</code>. See the examples listed above.
         * 
         * @param url
         * @param pipeType
         * @param tc
         * @throws MalformedURLException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

        private SmbPipeHandleInternal handle;
    
    
        /**
         * @param url
         * @param tc
         * @param unshared
         * @throws DcerpcException
         * @throws MalformedURLException
         */
        public DcerpcPipeHandle ( String url, CIFSContext tc, boolean unshared ) throws DcerpcException, MalformedURLException {
            super(tc, DcerpcHandle.parseBinding(url));
            this.pipe = new SmbNamedPipe(makePipeUrl(), pipeFlags, unshared, tc);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jan 26 11:51:07 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

        SmbFileOutputStream out = null;
        boolean isStart = true;
    
        public DcerpcPipeHandle(String url,
                    NtlmPasswordAuthentication auth)
                    throws UnknownHostException, MalformedURLException, DcerpcException {
            binding = DcerpcHandle.parseBinding(url);
            url = "smb1://" + binding.server + "/IPC$/" + binding.endpoint.substring(6);
    
            String params = "", server, address;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/TestProperties.java

     *
     */
    public final class TestProperties {
    
        /**
         * 
         */
        private TestProperties () {}
    
        static final String TEST_SHARE_URL_MAIN = "test.share.main.url";
        static final String TEST_SHARE_URL_DFSROOT = "test.share.dfsroot.url";
    
        static final String TEST_SHARE_MAIN = "test.share.main";
        static final String TEST_SHARE_GUEST = "test.share.guest";
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Feb 29 16:38:58 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/ContextConfigTest.java

            Config.registerSmbURLHandler();
            URL u = new URL("smb://localhost/test");
            assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class)));
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testLegacyURLConstructor () throws IOException {
            Config.registerSmbURLHandler();
            URL u = new URL("smb://DOMAIN;foo:bar@localhost/test");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    throws UnknownHostException, MalformedURLException, DcerpcException {
            if (url.startsWith("ncacn_np:")) {
                return new DcerpcPipeHandle(url, auth);
            }
            throw new DcerpcException("DCERPC transport not supported: " + url);
        }
    
        public void bind() throws DcerpcException, IOException {
    synchronized (this) {
            try {
                state = 1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        private int sharing;
    
    
        /**
         * Instantiate a random access file from URL
         * 
         * @param url
         * @param mode
         * @param sharing
         * @param tc
         * @throws SmbException
         * @throws MalformedURLException
         */
        @SuppressWarnings ( "resource" )
        public SmbRandomAccessFile ( String url, String mode, int sharing, CIFSContext tc ) throws SmbException, MalformedURLException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  10. 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)
Back to top