started some ideas for the http get/post stuff
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
just improved the HttpRequest javadoc
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)
removed timeout from getResult() methods from HttpResponse, added error() method to the HttpResponseListener
removed status code from HttpResponse, modified handleHttpResponse() method from HttpResponseListener to receive the status code of the HTTP response to know if everything went right or there was an error and should be processed.
Merge branch 'master' into httprequests
updated HTTP javadocs of Net API
started to add an implementation to Net API for Android, using http-client provided by android, had to change some parts of the gdx net HttpResponseListener to have a method failed(throwable) to call if something fails that it is not a HTTP error
Merge branch 'master' into httprequests
Merge branch 'httprequests' into httpimplementation
added separated concept HttpStatus to hold values about the HTTP status line, for example the status code, modified the HttpResponse to have a reference to the HttpStatus and removed the parameter from HttpResponseListener.handleHttpResponse() by adding a proper documentation explaining how to get the http status code
Merge remote-tracking branch 'acoppes/httpimplementation' into httpimplementation
Minor changes made to the Net and AndroidNet