Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Pearce (0.18 sec)

  1. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

            + "groups:write im:history im:read im:write mpim:history mpim:read mpim:write pins:read "
            + "pins:write reactions:read reactions:write search:read stars:read stars:write team:read "
            + "usergroups:read usergroups:write users:read users:write identify";
    
        if (true) {
          client.requestOauthSession(scopes, null);
        } else {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
              .url("https://api.github.com/search/repositories?q=http")
              .build();
    
          OkHttpClient clientForCall;
          if (i == 2) {
            // Force this request's response to be written to the cache. This way, subsequent responses
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

    import okhttp3.Response;
    
    public final class PostForm {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody formBody = new FormBody.Builder()
            .add("search", "Jurassic Park")
            .build();
        Request request = new Request.Builder()
            .url("https://en.wikipedia.org/w/index.php")
            .post(formBody)
            .build();
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.4K bytes
    - Viewed (0)
Back to top