docs: public String encodeRedirectURL(String url) {
          if (isEncodeable(toAbsolute(url))) {
              return originalServletContext.getSessionConfig().rewriteUrl(url, servletContext.getSession(originalServletContext, exchange, true).getId());
          } else {
              return url;
          }
      }