Release 5.1.0.13
Date: Apr 24, 2015
Juno 5.1.0.13 is a minor update.
Core
-
ClassMeta.newInstance() method can now create new instances of arrays.
-
Arguments passed to
Linkare now serialized using UrlEncodingSerializer, so arbitrary POJOs can now be passed as arguments. -
New date filters:
org.apache.juneau.swaps.Datefilter.ISO8601DTZP
andorg.apache.juneau.swaps.Datefilter.SimpleP
. -
New
HtmlDocSerializerContext.HTMLDOC_nowrapsetting for HtmlDocSerializer class. Adds"* {white-space:nowrap}"
to the style header to prevent word wrapping. -
Fixed bug in 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 orCollection
. -
Improved implementation of
UrlEncodingSerializer.serializeUrlPart(Object)method.
Server
-
RestConverterAPI fixed to handle the existence of POJO filters.Introspectable/Queryable/Traversableclasses 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.