Release 5.0.0.13
Date: Mar 14, 2013
Juno 5.0.0.13 is a minor update.
Core API changes
-
New support for relative URIs.
- URIs of the form
"foo/bar"are interpreted as relative to the context root of the web application. - URIs of the form
"/foo/bar"are interpreted as relative to the HTTP authority (e.g."http://myhost:9080").
- URIs of the form
-
New
SerializerContext.SERIALIZER_uriContextandSerializerContext.SERIALIZER_uriAuthorityserializer properties for specifying values for relative URIs. -
New
@URIannotation that allows you to specify classes and bean properties as URLs that aren'tjava.net.URIorjava.net.URL. -
New
HtmlSerializer.HTML_uriAnchorTextHTML serializer property for tailoring how anchor text is rendered. -
Renamed
BeanProperty#uriannotation toBeanProperty#beanUrito make it clear that this property represents the URI of the bean itself instead of an arbitrary property containing a URI. -
Removed
BeanProperty#idannotation.
REST server API changes
-
Improvements to
RestServletto automatically handle relative URIs in POJOs.SerializerContext.SERIALIZER_uriContextproperty set by default to web app context root.SerializerContext.SERIALIZER_uriAuthorityproperty set by default to the request scheme+hostname+port.
-
Fixed bug involving
Accept-Charsetheader in Chrome that prevented HTML output from rendering correctly in that browser.Accept-Charsethandling should now be fully W3C compliant.
Share feedback or follow-up questions for this page directly through GitHub.