Permalink
Browse files

Merge pull request #43 from khomenko/master

allow RequestParams to be used independently in 3rd party packages
  • Loading branch information...
2 parents 2532bcb + 1e99f6b commit 32909bce1d2f2672cfeb60e5bcec53481c43f614 @loopj committed Mar 23, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/com/loopj/android/http/RequestParams.java
View
7 src/com/loopj/android/http/RequestParams.java
@@ -174,8 +174,11 @@ public String toString() {
return result.toString();
}
-
- HttpEntity getEntity() {
+
+ /**
+ * Returns an HttpEntity containing all request parameters
+ */
+ public HttpEntity getEntity() {
HttpEntity entity = null;
if(!fileParams.isEmpty()) {

0 comments on commit 32909bc

Please sign in to comment.