Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CurrentDateHeader (0.2 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

    import java.io.IOException;
    import java.util.Date;
    import okhttp3.Headers;
    import okhttp3.Interceptor;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CurrentDateHeader {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new CurrentDateInterceptor())
          .build();
    
      public void run() throws Exception {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Oct 31 15:32:50 UTC 2018
    - 1.8K bytes
    - Viewed (0)
Back to top