public void setHref ( String href ) { if ( href . contains ( "%7B" ) ) { try { href = URLDecoder . decode ( href , "UTF-8" ) ; } catch ( UnsupportedEncodingException e ) { throw new RuntimeException ( e ) ; } } this . href = new UriTemplate ( href ) ; }
backwards compatibility would be canged in next version