Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getPath (0.23 sec)

  1. mockwebserver/README.md

      assertEquals("/v1/chat/messages/", request1.getPath());
      assertNotNull(request1.getHeader("Authorization"));
    
      RecordedRequest request2 = server.takeRequest();
      assertEquals("/v1/chat/messages/2", request2.getPath());
    
      RecordedRequest request3 = server.takeRequest();
      assertEquals("/v1/chat/messages/3", request3.getPath());
    
      // Shut down the server. Instances cannot be reused.
      server.shutdown();
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  2. mockwebserver/api/mockwebserver3.api

    	public fun <init> (Ljava/lang/String;Ljava/lang/String;Lokhttp3/Headers;Lmockwebserver3/MockResponse;)V
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getMethod ()Ljava/lang/String;
    	public final fun getPath ()Ljava/lang/String;
    	public final fun getResponse ()Lmockwebserver3/MockResponse;
    }
    
    public class mockwebserver3/QueueDispatcher : mockwebserver3/Dispatcher {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 03 21:59:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getHeader (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getMethod ()Ljava/lang/String;
    	public final fun getPath ()Ljava/lang/String;
    	public final fun getRequestLine ()Ljava/lang/String;
    	public final fun getRequestUrl ()Lokhttp3/HttpUrl;
    	public final fun getSequenceNumber ()I
    	public final fun getTlsVersion ()Lokhttp3/TlsVersion;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
     * System.out.println(new URI(attack).getPath());
     * System.out.println(HttpUrl.parse(attack).encodedPath());
     * ```
     *
     * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  5. api/go1.16.txt

    pkg syscall (darwin-arm64), const F_GETOWN = 5
    pkg syscall (darwin-arm64), const F_GETOWN ideal-int
    pkg syscall (darwin-arm64), const F_GETPATH = 50
    pkg syscall (darwin-arm64), const F_GETPATH ideal-int
    pkg syscall (darwin-arm64), const F_GETPATH_MTMINFO = 71
    pkg syscall (darwin-arm64), const F_GETPATH_MTMINFO ideal-int
    pkg syscall (darwin-arm64), const F_GETPROTECTIONCLASS = 63
    pkg syscall (darwin-arm64), const F_GETPROTECTIONCLASS ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg syscall (darwin-386), const F_GETLKPID ideal-int
    pkg syscall (darwin-386), const F_GETNOSIGPIPE ideal-int
    pkg syscall (darwin-386), const F_GETOWN ideal-int
    pkg syscall (darwin-386), const F_GETPATH ideal-int
    pkg syscall (darwin-386), const F_GETPATH_MTMINFO ideal-int
    pkg syscall (darwin-386), const F_GETPROTECTIONCLASS ideal-int
    pkg syscall (darwin-386), const F_GLOBAL_NOCACHE ideal-int
    pkg syscall (darwin-386), const F_LOG2PHYS ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  7. ChangeLog.md

    ### IDE. Script
    
    - [`KTIJ-25989`](https://youtrack.jetbrains.com/issue/KTIJ-25989) java.lang.NullPointerException: Cannot invoke "com.intellij.openapi.vfs.VirtualFile.getPath()" because the return value of "java.lang.ThreadLocal.get()" is null
    - [`KT-60519`](https://youtrack.jetbrains.com/issue/KT-60519) Analysis API: scripts are not invalidated on PCE
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

        val headers =
          Headers.Builder()
            .add("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(Date(0L))
      }
    
      @Test fun addInstant() {
        val expected = Instant.ofEpochMilli(0L)
        val headers =
          Headers.Builder()
            .add("Test-Instant", expected)
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun headers() {
        var headers: Headers = headersOf("", "")
        headers = mapOf("" to "").toHeaders()
        val get: String? = headers[""]
        val date: Date? = headers.getDate("")
        val instant: Instant? = headers.getInstant("")
        val size: Int = headers.size
        val name: String = headers.name(0)
        val value: String = headers.value(0)
        val names: Set<String> = headers.names()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  10. okhttp/src/main/kotlin/okhttp3/Headers.kt

      /**
       * Returns the last value corresponding to the specified field parsed as an HTTP date, or null if
       * either the field is absent or cannot be parsed as a date.
       */
      fun getDate(name: String): Date? = get(name)?.toHttpDateOrNull()
    
      /**
       * Returns the last value corresponding to the specified field parsed as an HTTP date, or null if
       * either the field is absent or cannot be parsed as a date.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top