Merge branch 'master' of https://github.com/libgdx/libgdx
Merge branch 'master' of https://github.com/libgdx/libgdx
Merge branch 'master' of https://github.com/libgdx/libgdx
started some ideas for the http get/post stuff
Merge branch 'master' of https://github.com/libgdx/libgdx
Merge branch 'master' of https://github.com/libgdx/libgdx
Proposal: platform-independent IAP design (low-level)
Merge branch 'master' into httprequests
changed the createHttpRequest to receive the HTTP method, the idea is to have a factory like method to create a HttpRequest, modified the HttpRequest to provide methods to set headers and to get the current HTTP method (dunno if that is needed since you already know the if it is GET/POST), removed httpPost method from the Net API, now there is only a method processHttpRequest(httpRequest), added javadocs of some of these classes
updated javadocs of Net interface
changed HttpRequest to be a class instead of an interface
changed name of HttpResult to HttpResponse and added listener HttpResponseListener to be used to report back when a HttpResponse is ready to be processed after the request was processed, modified processHttpRequest methods to accept the HttpResponseListener and removed the return value from them for now until we decide if we also want the future way or not (we should remove some methods from HttpRespose in that case)
changed to use strings to specify the HTTP method, removed the enum HttpMethod and created a static interface named HttpMethods with GET and POST strings representing corresponding HTTP methods, to be used with the createHttpRequest method
Merge branch 'master' of https://github.com/libgdx/libgdx
Update for IAP functionality:
(1) observer renamed to listener
(2) made PurchasedItem a class (no need for interface)
(3) added PurchaseValidator: template for post back validation of purchased items on server
just improved the HttpRequest javadoc
Merge branch 'master' of https://github.com/libgdx/libgdx
Merge branch 'master' of https://github.com/libgdx/libgdx
Merge branch 'master' into httprequests
modified Net API with some of the discussed changes, removed the createHttpRequest() method, modified processHttpRequest to sendHttpRequest(), added timeOut to the HttpRequest, added canceled() method to HttpResponseListener which must be called if the request was cancelled (probably by a timeout), error(code) wasnt added since HttpResponse already has the status code and that could be processed inside handleHttpResponse(HttpResponse), added input stream methods (maybe javadocs could be improved a bit)