com.aoindustries.website.framework
Class ProcessPage

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.aoindustries.website.framework.ErrorReportingServlet
              extended by com.aoindustries.website.framework.WebPage
                  extended by com.aoindustries.website.framework.InputStreamPage
                      extended by com.aoindustries.website.framework.ProcessPage
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
PreProcessPage

public abstract class ProcessPage
extends InputStreamPage

Pulls information from a native process to be used as the content.

Author:
AO Industries, Inc.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.aoindustries.website.framework.WebPage
emptyWebPageArray, reHTMLPattern
 
Fields inherited from class com.aoindustries.website.framework.ErrorReportingServlet
BUFFER_SIZE
 
Constructor Summary
ProcessPage(LoggerAccessor loggerAccessor)
           
ProcessPage(LoggerAccessor loggerAccessor, java.lang.Object param)
           
ProcessPage(WebSiteRequest req)
           
 
Method Summary
 java.io.InputStream getInputStream()
          Gets the stream that the text should be read from.
 long getLastModified(WebSiteRequest req)
          The getLastModified defaults to -1.
abstract  java.lang.Process getProcess()
          Gets the process that the contents should be read from
 long getSearchLastModified()
          The search format of this page is indexed.
 
Methods inherited from class com.aoindustries.website.framework.InputStreamPage
doGet, printStream, printStreamStatic
 
Methods inherited from class com.aoindustries.website.framework.WebPage
canAccess, doGet, doPost, doPost, doPostWithSearch, enforceEncryption, equals, equals, generateURLPath, getAdditionalHeaders, getAuthor, getCachedPages, getClassLastModified, getClassLoaderUptime, getContentVAlign, getCopyright, getDescription, getHTMLChainWriter, getHTMLOutputStream, getJavaScriptSrc, getKeywords, getLastModifiedRecursive, getLastModifiedRecursive, getNavImageAlt, getNavImageSuffix, getNavImageURL, getNextPage, getOnloadScript, getPageIndexInParent, getParent, getPreferredContentWidth, getPreviousPage, getRedirectURL, getRootPage, getServletContext, getShortTitle, getTitle, getURLParams, getURLPath, getURLPattern, getWebPage, getWebPage, getWebPage, getWebPage, getWebPageAndChildrenLastModified, getWebPageLayout, getWebPages, getWebSiteRequest, hashCode, includeNavImageAsParent, isHandler, isHandler, loadClass, printLoginForm, printUnauthorizedPage, reportingDoGet, reportingDoPost, reportingGetLastModified, search, showInLocationPath, standardSearch, useEncryption, useNavImage, useSiteMap
 
Methods inherited from class com.aoindustries.website.framework.ErrorReportingServlet
doGet, doPost, getGetCount, getLastModified, getLastModifiedCount, getLogger, getLogger, getLogger, getLoggerAccessor, getPostCount, getUptime, log, log
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, init
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessPage

public ProcessPage(LoggerAccessor loggerAccessor)

ProcessPage

public ProcessPage(WebSiteRequest req)

ProcessPage

public ProcessPage(LoggerAccessor loggerAccessor,
                   java.lang.Object param)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Description copied from class: InputStreamPage
Gets the stream that the text should be read from.

Specified by:
getInputStream in class InputStreamPage
Throws:
java.io.IOException

getLastModified

public long getLastModified(WebSiteRequest req)
Description copied from class: WebPage
The getLastModified defaults to -1.

Overrides:
getLastModified in class WebPage

getProcess

public abstract java.lang.Process getProcess()
                                      throws java.io.IOException
Gets the process that the contents should be read from

Throws:
java.io.IOException

getSearchLastModified

public long getSearchLastModified()
                           throws java.io.IOException,
                                  java.sql.SQLException
The search format of this page is indexed.

Overrides:
getSearchLastModified in class WebPage
Throws:
java.io.IOException
java.sql.SQLException