Class PdfRenderProcess

  • All Implemented Interfaces:
    java.lang.Runnable

    public class PdfRenderProcess
    extends LongRunningProcess
    Thread used to do the actual rendering and merging of the documents.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      void writeResult​(javax.servlet.http.HttpServletResponse response)
      Writes the result of the process to the output-stream.
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PdfRenderProcess

        public PdfRenderProcess​(LRPControlBean bean,
                                javax.servlet.http.HttpSession session)
        Parameters:
        bean - the control bean that contains the content to render
        session - the current session
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread
      • writeResult

        public void writeResult​(javax.servlet.http.HttpServletResponse response)
                         throws java.io.IOException,
                                SystemException
        Description copied from class: LongRunningProcess
        Writes the result of the process to the output-stream.
        Specified by:
        writeResult in class LongRunningProcess
        Parameters:
        response - servlet response to write to
        Throws:
        java.io.IOException - IO Exception when writing
        SystemException - generic exception when writing