code: protected String processLink(final IExpressionContext context, final String link) {
  
          if (!(context instanceof IWebContext)) {
              return link;
          }
  
          final HttpServletResponse response = ((IWebContext)context).getResponse();
          return (response != null? response.encodeURL(link) : link);
  
      }
docs: <p>
  Process an already-built URL just before returning it.
  </p>
  <p>
  By default, this method will apply the {@code HttpServletResponse.encodeURL(url)} mechanism, as standard
  when using the Java Servlet API. Note however that this will only be applied if {@code context} is
  an implementation of {@code IWebContext} (i.e. the Servlet API will only be applied in web environments).
  </p>
  <p>
  This method can be overridden by any subclasses that want to change this behaviour (e.g. in order to
  avoid using the Servlet API).
  </p>
  
  @param context the execution context.
  @param link the already-built URL.
  @return the processed URL, ready to be used.