Class VelocityUtil

java.lang.Object
swiss.trustbroker.common.saml.util.VelocityUtil

public class VelocityUtil extends Object
renderTemplate copied from HTTPPostEncoder and adapted.
  • Field Details

  • Method Details

    • populateVelocityContext

      public static <T> void populateVelocityContext(org.apache.velocity.VelocityContext velocityContext, Map<String,T> contextValues)
    • renderTemplate

      public static <T> void renderTemplate(org.apache.velocity.app.VelocityEngine velocityEngine, jakarta.servlet.http.HttpServletResponse response, String velocityTemplate, Map<String,T> contextValues)
    • renderTemplate

      public static void renderTemplate(org.apache.velocity.app.VelocityEngine velocityEngine, jakarta.servlet.http.HttpServletResponse response, String velocityTemplate, org.apache.velocity.VelocityContext context)