5.1.0.13 (Apr 24, 2015)
Juno 5.1.0.13 is a minor update.
Core
- {@link oaj.ClassMeta#newInstance()} method can now create new instances of arrays.
- Arguments passed to
Link
are now serialized using {@link oaj.urlencoding.UrlEncodingSerializer}, so arbitrary POJOs can now be passed as arguments.
- New date filters:
org.apache.juneau.transforms.Datefilter.ISO8601DTZP
and org.apache.juneau.transforms.Datefilter.SimpleP
.
- New
HtmlDocSerializerContext.HTMLDOC_nowrap
setting for {@link oaj.html.HtmlDocSerializer} class.
Adds "* {white-space:nowrap}" to the style header to prevent word wrapping.
- Fixed bug in {@link oaj.uon.UonParser} where passing in a blank value on an array or collection type in a form post would cause a
ClassCastException
.
New behavior creates an empty array or Collection
.
- Improved implementation of
UrlEncodingSerializer.serializeUrlPart(Object)
method.
Server
- {@link oajr.RestConverter} API fixed to handle the existence of POJO filters.
{@link oajr.converters.Introspectable}/{@link oajr.converters.Queryable}/{@link oajr.converters.Traversable} classes can now work with filtered POJOs.
- {@link oajr.annotation.RestResource#messages() @RestResource(messages)} annotation can now be defined on super and subclasses so that NLS messages can be defined in multiple resource bundles.
- Performance improvements in
RestServletNls
class.
- Fixed bug where two REST java methods mapped to the same path pattern wasn't triggering an exception when it was supposed to.
Client
- New
RestCall.setRedirectMaxAttempts(int)
method to prevent endless redirection loops.
- New
RestCall#setRetryable(int,long,RetryOn)
method to automatically retry on failed connection attempts.
- New
RestCallInterceptor.onRetry(RestCall,int,HttpRequest,HttpResponse)
method for listening in on retry attempts.