code: private String buildRedirectOutcome()
     {
        AddressBuilderPath builderPath = AddressBuilder.begin().pathEncoded(viewId);
        for (Entry<String, List<String>> param : parameters.entrySet()) {
           String[] values = param.getValue().toArray(new String[param.getValue().size()]);
           builderPath.queryEncoded(param.getKey(), (Object[]) values);
        }
        String url = builderPath.toString();
        return RewriteNavigationHandler.REDIRECT_PREFIX + url;
     }
docs: Builds a special outcome processed by {@link RewriteNavigationHandler}