Reputation: 5570
can anyone show me a simple way to get the entity body of an httpurirequest object.
Br
Upvotes: 4
Views: 3081
Reputation: 18670
HttpUriRequest is the base interface for all HTTP requests, including those which don't have a body.
Requests with a body implement the HttpEntityEnclosingRequest interface, which provides a getEntity() method.
Upvotes: 4