Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 40 million developers.Sign up
In this release, HttpClient now has methods to set connect and read timeouts as well as getter methods for Http response code and response message from the last Http request.
In this release class BackgroundTreadsRunner now has pool size property so it could be created with pre-defined pool size or as it used to be with default one if this property is not set. The default pool size is the number of tasks submitted to the pool. Also in TextUtils all String to Number parsing methods now have silent versions where they just parse the String to numeric value or if String is not valid they return default value, but nothing is printed into log.
Adding ability to add any arbitrary request property for HttpRequest in HttpClient
In this release TimeInterval now has toString() method and toNanos() method that was somehow forgotten in previous release
Some methods name change to make it standard and some new helper methods in HttpClient, plus some typos fixing in example code as well as fixing javadoc forrmatting issues. All in all a minor release
This release adds support for stacktrace filtering from a string source. I.e. Stacktrace now could be filtered just like in previous versions extracted from exception or (the new feature) stacktrace could be provided as a String. This allows the stacktrace filtering feature to be used for filtering stacktraces at runtime or from a text source such as log file. (Just to clarify: the filtering is done on a string that contains just a stacktrace and not the entire log)
This release adds HttpClient class that allows to send HTTP requests to a URL and provides methods that receive Textual or Binary response.
This release adds an infrastructure that can run user implemented Task classes in a separate thread at configured time interval. The interval could be parsed from String in human readable format such as "9h" for 9 hours.
This release contains some small infrastructure that simplifies and automates working with Factories that provide concrete implementations of an Interface. The package contains just 2 classes: BaseEntityFactory and BaseEntity. In short what this infrastructure does is that if you create a factory that extends BaseEntityFactory and some Interface with all its concrete implementations extending BaseEntity then each your concrete implementation class instances will be automatically inserted into your factory. You won't have to worry about how and when to populate your factory. The infrastructure will do it for you when the constructor of your concrete implementation class is invoked. So all you will have to do is to create any number of concrete implementation classes and make sure that for each one constructor is invoked. After that you can use your factory to get any of your concrete implementation classes anywhere in your code.
A new feature added that converts String to preserve indentation formatting for html without use of escape characters. It converts a String in such a way that its spaces are not modified by HTML renderer i.e. it replaces regular space characters with non-breaking spaces known as ' ' but they look in your source as regular space ' ' and not as ' ' It also replaces new line character with '<br>'.