net.sf.jasperreports.web.servlets
Class ReportServlet

java.lang.Object
  extended by HttpServlet
      extended by net.sf.jasperreports.web.servlets.ReportServlet

public class ReportServlet
extends HttpServlet

Version:
$Id: ReportServlet.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
static java.lang.String DEFAULT_REPOSITORY_ROOT
           
static java.lang.String PROPERTY_REPOSITORY_ROOT
           
static java.lang.String REQUEST_PARAMETER_IGNORE_PAGINATION
           
static java.lang.String REQUEST_PARAMETER_REPORT_JRXML
           
static java.lang.String REQUEST_PARAMETER_REPORT_URI
           
static java.lang.String REQUEST_PARAMETER_REPORT_VIEWER
           
static java.lang.String REQUEST_PARAMETER_RUN_REPORT
           
 
Constructor Summary
ReportServlet()
           
 
Method Summary
static java.lang.String extractReportUri(java.lang.String paramReportUri)
           
 FileResolver getFileResolver()
           
 java.io.File getRepositoryRoot()
           
 void init(ServletConfig config)
           
 void runReport(HttpServletRequest request, WebReportContext webReportContext)
           
 void service(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_REPOSITORY_ROOT

public static final java.lang.String PROPERTY_REPOSITORY_ROOT
See Also:
Constant Field Values

DEFAULT_REPOSITORY_ROOT

public static final java.lang.String DEFAULT_REPOSITORY_ROOT
See Also:
Constant Field Values

REQUEST_PARAMETER_REPORT_URI

public static final java.lang.String REQUEST_PARAMETER_REPORT_URI
See Also:
Constant Field Values

REQUEST_PARAMETER_IGNORE_PAGINATION

public static final java.lang.String REQUEST_PARAMETER_IGNORE_PAGINATION
See Also:
Constant Field Values

REQUEST_PARAMETER_RUN_REPORT

public static final java.lang.String REQUEST_PARAMETER_RUN_REPORT
See Also:
Constant Field Values

REQUEST_PARAMETER_REPORT_JRXML

public static final java.lang.String REQUEST_PARAMETER_REPORT_JRXML
See Also:
Constant Field Values

REQUEST_PARAMETER_REPORT_VIEWER

public static final java.lang.String REQUEST_PARAMETER_REPORT_VIEWER
See Also:
Constant Field Values
Constructor Detail

ReportServlet

public ReportServlet()
Method Detail

getRepositoryRoot

public java.io.File getRepositoryRoot()

getFileResolver

public FileResolver getFileResolver()

init

public void init(ServletConfig config)
          throws ServletException
Throws:
ServletException

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws java.io.IOException,
                    ServletException
Throws:
java.io.IOException
ServletException

runReport

public void runReport(HttpServletRequest request,
                      WebReportContext webReportContext)
               throws JRException
Throws:
JRException

extractReportUri

public static java.lang.String extractReportUri(java.lang.String paramReportUri)


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com