title: LoopJ AndroidAsyncHttp and request cookies
body: <p>Regarding to LoopJ AndroidAsyncHttp <a href="http://loopj.com/android-async-http/" rel="nofollow">examples</a> I make a get request like this:</p>
  
  <pre><code>    final TextView text = (TextView) findViewById(R.id.textView);
      AsyncHttpClient client = new AsyncHttpClient();
      client.get("http://example.com/mypage/", new AsyncHttpResponseHandler() {
          @Override
          public void onSuccess(String response) {
              text.append(response);
          }
      });
  </code></pre>
  
  <p>I also add cookies:</p>
  
  <pre><code>    PersistentCookieStore myCookieStore = new PersistentCookieStore(this);
      client.setCookieStore(myCookieStore);
      BasicClientCookie newCookie = new BasicClientCookie("id", 17882);
      myCookieStore.addCookie(newCookie);
  </code></pre>
  
  <p>But while making a GET request how can I send my cookies inside the request object ?</p>
  
  <p>Regarding to <a href="http://loopj.com/android-async-http/doc/com/loopj/android/http/AsyncHttpClient.html" rel="nofollow">documentation</a> client has these method signatures:</p>
  
  <pre><code> void   get(Context context, String url, AsyncHttpResponseHandler responseHandler) 
   void   get(Context context, String url, Header[] headers, RequestParams params, AsyncHttpResponseHandler responseHandler) 
   void   get(Context context, String url, RequestParams params, AsyncHttpResponseHandler responseHandler) 
   void   get(String url, AsyncHttpResponseHandler responseHandler) 
   void   get(String url, RequestParams params, AsyncHttpResponseHandler responseHandler) 
  </code></pre>
  
  <p>I would be happy if you can give an example that sends persistent cookies inside the GET request.</p>