public class RedirectServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
RedirectServlet() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fetchImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String url,
java.lang.String reportAttExtension) |
static java.lang.String |
getFileForGivenUrl(java.lang.String imagePath,
boolean debugLocal) |
static void |
processFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String imagePath,
java.lang.String reportAttExtension) |
public static void fetchImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String url,
java.lang.String reportAttExtension)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionpublic static void processFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String imagePath,
java.lang.String reportAttExtension)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String getFileForGivenUrl(java.lang.String imagePath,
boolean debugLocal)
throws java.io.IOException
java.io.IOException