Package com.coveo.saml
Class BrowserUtils
java.lang.Object
com.coveo.saml.BrowserUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpostUsingBrowser(String url, jakarta.servlet.http.HttpServletResponse response, Map<String, String> values) Renders an HTTP response that will cause the browser to POST the specified values to an url.
-
Constructor Details
-
BrowserUtils
public BrowserUtils()
-
-
Method Details
-
postUsingBrowser
public static void postUsingBrowser(String url, jakarta.servlet.http.HttpServletResponse response, Map<String, String> values) throws IOExceptionRenders 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- theHttpServletResponse.values- the values to include in the POST.- Throws:
IOException- thrown if an IO error occurs.
-