Release 5.0.0.12
Date: Mar 10, 2013
Juno 5.0.0.12 is a minor update.
Core API changes
- Relaxed method naming conventions when using
@BeanPropertyannotation. Methods with zero parameters are interpreted as getters, and methods with one parameter are interpreted as setters. Eliminated theBeanProperty.method
annotation, since it's now unnecessary.
REST server API changes
-
Significantly improved response error messages. Older messages were rather cryptic. Error conditions should be much easier to debug now.
-
New
PlainTextRestSerializer
class for serializing"plain/text"
requests. Useful for debugging purposes. -
Readers
andInputStreams
can now be passed in as@Contentparameters if you need direct access to the HTTP body content without involving the parsers. Equivalent to previously calling RestRequest.getInputStream().html) and RestRequest.getReader().html). -
Improved support for the
?debug
parameter. Dumps better information to the log file, such as all header parameters.