Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for urlConnection (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * @throws SmbException
     */
    
        public String toString() {
            return Strings.maskSecretValue(url.toString());
        }
    
    /* URLConnection implementation */
    /**
     * This URLConnection method just returns the result of <tt>length()</tt>.
     *
     * @return the length of this file or 0 if it refers to a directory
     */
    
        public int getContentLength() {
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        call.cancel()
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
      @Test
      fun defaultRequestProperty() {
        URLConnection.setDefaultRequestProperty("X-testSetDefaultRequestProperty", "A")
        assertThat(URLConnection.getDefaultRequestProperty("X-setDefaultRequestProperty")).isNull()
      }
    
      /**
       * Reads `count` characters from the stream. If the stream is exhausted before `count`
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top