Class WebUtils
java.lang.Object
org.bardframework.commons.web.utils.WebUtils
Created by Vahid Zafari on 6/10/2016.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeString(String value) remove > < RLO from input string, escapeHtml4static voidfillResponse(jakarta.servlet.http.HttpServletResponse response, byte[] data, String contentType, String name)
-
Constructor Details
-
WebUtils
public WebUtils()
-
-
Method Details
-
fillResponse
public static void fillResponse(jakarta.servlet.http.HttpServletResponse response, byte[] data, String contentType, String name) throws IOException - Throws:
IOException
-
escapeString
remove > < RLO from input string, escapeHtml4- Returns:
- cleaned string
-