net.sf.jasperreports.web.servlets
Class ViewerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.sf.jasperreports.web.servlets.AbstractServlet
net.sf.jasperreports.web.servlets.ViewerServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class ViewerServlet
- extends AbstractServlet
- Version:
- $Id: ViewerServlet.java 5394 2012-05-20 21:47:15Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_TEMPLATE_HEADER
public static final java.lang.String PROPERTY_TEMPLATE_HEADER
- See Also:
- Constant Field Values
PROPERTY_TEMPLATE_BODY
public static final java.lang.String PROPERTY_TEMPLATE_BODY
- See Also:
- Constant Field Values
PROPERTY_TEMPLATE_FOOTER
public static final java.lang.String PROPERTY_TEMPLATE_FOOTER
- See Also:
- Constant Field Values
PROPERTY_VIEWER_TOOLBAR_JS
public static final java.lang.String PROPERTY_VIEWER_TOOLBAR_JS
- See Also:
- Constant Field Values
ViewerServlet
public ViewerServlet()
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
getHeaderTemplate
public java.lang.String getHeaderTemplate()
getBodyTemplate
public java.lang.String getBodyTemplate()
getFooterTemplate
public java.lang.String getFooterTemplate()
getToolbarJavascript
public java.lang.String getToolbarJavascript()
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Throws:
java.io.IOException
javax.servlet.ServletException
render
public void render(javax.servlet.http.HttpServletRequest request,
WebReportContext webReportContext,
java.io.PrintWriter writer)
getCurrentUrl
protected java.lang.String getCurrentUrl(javax.servlet.http.HttpServletRequest request,
WebReportContext webReportContext)
getHeader
protected java.lang.String getHeader(javax.servlet.http.HttpServletRequest request,
WebReportContext webReportContext,
java.lang.String toolbarId)
getBody
protected java.lang.String getBody(javax.servlet.http.HttpServletRequest request,
WebReportContext webReportContext,
java.lang.String toolbarId)
getFooter
protected java.lang.String getFooter()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com