Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for Kate (0.41 sec)

  1. okhttp/api/okhttp.api

    	public final fun byteCount ()J
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun get (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getDate (Ljava/lang/String;)Ljava/util/Date;
    	public final fun getInstant (Ljava/lang/String;)Ljava/time/Instant;
    	public fun hashCode ()I
    	public fun iterator ()Ljava/util/Iterator;
    	public final fun name (I)Ljava/lang/String;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

          System.out.println(response.request().header("Date"));
        }
      }
    
      static class CurrentDateInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
              .newBuilder()
              .add("Date", new Date())
              .build();
          Request newRequest = request.newBuilder()
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Oct 31 15:32:50 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Fri Jun 6 12:30:30 2014".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
      }
    
      @Test
      @Throws(Exception::class)
      fun format() {
        assertThat(Date(0L).toHttpDateString()).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(Date(1402057830000L).toHttpDateString()).isEqualTo("Fri, 06 Jun 2014 12:30:30 GMT")
      }
    
      @Test
      @Throws(Exception::class)
      fun parseNonStandardStrings() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println("Server: ${response.header("Server")}")
          println("Date: ${response.header("Date")}")
          println("Vary: ${response.headers("Vary")}")
        }
      }
    }
    
    fun main() {
      AccessHeaders().run()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println("Server: " + response.header("Server"));
          System.out.println("Date: " + response.header("Date"));
          System.out.println("Vary: " + response.headers("Vary"));
        }
      }
    
      public static void main(String... args) throws Exception {
        new AccessHeaders().run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.6K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        assertThat(decoded).isEqualTo(date("2049-12-31T23:59:59.000+0000").time)
      }
    
      @Test fun `time before 1950 uses GENERALIZED_TIME`() {
        val generalizedTimeDer = "180f31393439313233313233353935395a".decodeHex()
    
        val decoded = CertificateAdapters.time.fromDer(generalizedTimeDer)
        val encoded = CertificateAdapters.time.toDer(decoded)
    
        assertThat(decoded).isEqualTo(date("1949-12-31T23:59:59.000+0000").time)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  7. docs/recipes.md

              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
              println("Server: ${response.header("Server")}")
              println("Date: ${response.header("Date")}")
              println("Vary: ${response.headers("Vary")}")
            }
          }
        ```
    
    === ":material-language-java: Java"
        ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  8. LICENSE.txt

          or a Contribution incorporated within the Work constitutes direct
          or contributory patent infringement, then any patent licenses
          granted to You under this License for that Work shall terminate
          as of the date such litigation is filed.
    
       4. Redistribution. You may reproduce and distribute copies of the
          Work or Derivative Works thereof in any medium, with or without
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jul 23 14:02:28 GMT 2012
    - 11.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

     * your OkHttp library can break connectivity to certain web servers! But it’s a necessary annoyance
     * because the TLS ecosystem is dynamic and staying up to date is necessary to stay secure. See
     * [OkHttp's TLS Configuration History][tls_history] to track these changes.
     *
     * [tls_history]: https://square.github.io/okhttp/tls_configuration_history/
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("content-language", ""),
          Header("content-length", ""),
          Header("content-location", ""),
          Header("content-range", ""),
          Header("content-type", ""),
          Header("cookie", ""),
          Header("date", ""),
          Header("etag", ""),
          Header("expect", ""),
          Header("expires", ""),
          Header("from", ""),
          Header("host", ""),
          Header("if-match", ""),
          Header("if-modified-since", ""),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
Back to top