org.openmdx.birt.servlet
Class BirtReportServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.openmdx.birt.servlet.BirtReportServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class BirtReportServlet
extends HttpServlet

See Also:
Serialized Form

Constructor Summary
BirtReportServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void handleRequest(HttpServletRequest request, HttpServletResponse response)
           
 void handleRun(HttpServletRequest request, HttpServletResponse response)
           
 void init(ServletConfig servletConfig)
           
 org.eclipse.birt.report.engine.api.IReportRunnable openReportDesign(String reportDesignFileName, InputStream reportDesignIs, Map options)
           
 org.eclipse.birt.report.engine.api.IReportRunnable openReportDesign(String reportDesignName, Map options)
           
 void setEngineContext(ServletContext servletContext, HttpServletRequest request)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, 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
 

Constructor Detail

BirtReportServlet

public BirtReportServlet()
Method Detail

init

public void init(ServletConfig servletConfig)
          throws ServletException
Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

setEngineContext

public void setEngineContext(ServletContext servletContext,
                             HttpServletRequest request)

openReportDesign

public org.eclipse.birt.report.engine.api.IReportRunnable openReportDesign(String reportDesignName,
                                                                           Map options)
                                                                    throws org.eclipse.birt.report.engine.api.EngineException,
                                                                           FileNotFoundException
Throws:
org.eclipse.birt.report.engine.api.EngineException
FileNotFoundException

openReportDesign

public org.eclipse.birt.report.engine.api.IReportRunnable openReportDesign(String reportDesignFileName,
                                                                           InputStream reportDesignIs,
                                                                           Map options)
                                                                    throws org.eclipse.birt.report.engine.api.EngineException
Throws:
org.eclipse.birt.report.engine.api.EngineException

handleRun

public void handleRun(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException
Throws:
ServletException

handleRequest

public void handleRequest(HttpServletRequest request,
                          HttpServletResponse response)
                   throws ServletException,
                          IOException
Throws:
ServletException
IOException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException


This software is published under the BSD license. Copyright © 2006-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.