Back to project page android-rest-client.
The source code is released under:
Apache License
If you think the Android project android-rest-client listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.dg.examples.restclientdemo.communication.requests; // w w w . ja v a 2 s .c o m import com.dg.examples.restclientdemo.communication.RestConstants; import com.dg.examples.restclientdemo.communication.parsers.BlogsGoogleParser; import com.dg.examples.restclientdemo.domain.ResponseModel; import com.dg.libs.rest.client.RequestMethod; import com.dg.libs.rest.requests.RestClientRequest; public class BlogsGoogleRequest extends RestClientRequest<ResponseModel> { public static final String TAG = BlogsGoogleRequest.class.getSimpleName(); public BlogsGoogleRequest(String query) { super(); setRequestMethod(RequestMethod.GET); setUrl(RestConstants.GOOGLE_BLOGS); setParser(new BlogsGoogleParser()); addQueryParam("q", query); addQueryParam("v", "1.0"); addQueryParam("include_entities", "" + true); } }