Skip to content

Commit 1e99f6b

Browse files
author
Alex Khomenko
committed
Changed RequestParams.getEntity() from package-private to public to allow standalone use of RequestParams.
1 parent 2532bcb commit 1e99f6b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/com/loopj/android/http/RequestParams.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,11 @@ public String toString() {
174174

175175
return result.toString();
176176
}
177-
178-
HttpEntity getEntity() {
177+
178+
/**
179+
* Returns an HttpEntity containing all request parameters
180+
*/
181+
public HttpEntity getEntity() {
179182
HttpEntity entity = null;
180183

181184
if(!fileParams.isEmpty()) {

0 commit comments

Comments
 (0)