Class BrowserUtils

java.lang.Object
com.coveo.saml.BrowserUtils

public class BrowserUtils extends Object
  • Constructor Details

    • BrowserUtils

      public BrowserUtils()
  • Method Details

    • postUsingBrowser

      public static void postUsingBrowser(String url, jakarta.servlet.http.HttpServletResponse response, Map<String,String> values) throws IOException
      Renders an HTTP response that will cause the browser to POST the specified values to an url.
      Parameters:
      url - the url where to perform the POST.
      response - the HttpServletResponse.
      values - the values to include in the POST.
      Throws:
      IOException - thrown if an IO error occurs.