- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getUrl (0.17 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
} private void handshake() throws IOException { if (handshakeComplete) return; doHandshake(); handshakeComplete = true; } public URL getURL() { return connection.getURL(); } public int getContentLength() { try { handshake(); } catch (IOException ex) { } return connection.getContentLength(); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
// clone the locator so that the address index is not modified SmbResourceLocatorImpl locator = parent.fileLocator.clone(); CIFSContext tc = parent.getContext(); URL u = locator.getURL(); FileEntry[] entries; if ( u.getPath().lastIndexOf('/') != ( u.getPath().length() - 1 ) ) throw new SmbException(u.toString() + " directory must end with '/'");
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jul 20 08:41:19 GMT 2019 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
w.wait(); } catch ( InterruptedException ie ) { throw new SmbException(dest.getURL().toString(), ie); } } w.checkException(); if ( read <= 0 ) { break;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
SmbResource c = new SmbFile(r, " test") ) { assertEquals(' ', c.getName().charAt(0)); assertEquals(" test", c.getName()); try ( SmbFile t = new SmbFile(c.getLocator().getURL(), getContext()) ) { assertEquals(" test", t.getName()); } } } @Test @Ignore public void testRelativeWhitespaceEnd () throws Exception {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 08 13:16:07 GMT 2020 - 23K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
throw new RuntimeCIFSException("NTLM handshake failed", e); } this.handshakeComplete = true; } @Override public URL getURL () { return this.connection.getURL(); } @Override public int getContentLength () { handshake(); return this.connection.getContentLength(); } @Override
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) -
src/test/java/jcifs/tests/ReadWriteTest.java
@Test public void testReadWriteTwoHandles () throws IOException { try ( SmbFile f = createTestFile() ) { try ( SmbFile s = new SmbFile(f.getURL().toString(), withTestNTLMCredentials(getContext())); SmbFile t = new SmbFile(f.getURL().toString(), withTestNTLMCredentials(getContext())) ) { try ( OutputStream os = s.getOutputStream(); InputStream is = t.getInputStream() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class); Assert.assertEquals("b@r", na.getPassword()); } try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) { Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
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) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
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) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
+ ( this.expiration - System.currentTimeMillis() ) + "]"; } /** * @return the ttl */ public long getTtl () { return this.ttl; } /** * {@inheritDoc} * * @see java.lang.Object#hashCode() */ @Override public int hashCode () {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:13:49 GMT 2021 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
catch ( Exception e ) { log.debug("Retry also failed", e); throw sae; } } else if ( this.ctx.renewCredentials(loc.getURL().toString(), sae) ) { log.debug("Trying to renew credentials after auth error"); try ( SmbSessionInternal s = trans.getSmbSession(this.ctx, treesess.getTargetHost(), treesess.getTargetDomain())
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:50:16 GMT 2020 - 31K bytes - Viewed (0)