public final class ResponseUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPageContent(java.lang.String page,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static void |
setContentDisposition(javax.servlet.http.HttpServletResponse response,
java.lang.String fileName) |
static void |
setContentTypeHtml(javax.servlet.http.HttpServletResponse resp) |
static void |
turnOffCache(javax.servlet.http.HttpServletResponse response) |
public static void turnOffCache(javax.servlet.http.HttpServletResponse response)
public static void setContentDisposition(javax.servlet.http.HttpServletResponse response, java.lang.String fileName)
public static void setContentTypeHtml(javax.servlet.http.HttpServletResponse resp)
public static java.lang.String getPageContent(java.lang.String page, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
Copyright ? Technia AB. All Rights Reserved.