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.swaps.Datefilter.ISO8601DTZP and org.apache.juneau.swaps.Datefilter.SimpleP.
- New
HtmlDocSerializerContext.HTMLDOC_nowrapsetting 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
RestConverter API fixed to handle the existence of POJO filters.
Introspectable/Queryable/Traversable classes can now work with filtered POJOs.
@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.