org.mycore.frontend.servlets
Class MCRFileViewWorkflowServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.mycore.frontend.servlets.MCRServlet
              extended by org.mycore.frontend.servlets.MCRFileViewWorkflowServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class MCRFileViewWorkflowServlet
extends MCRServlet

This servlet read a digital object from the workflow and put it to the web.
Call this servlet with .../servlets/MCRFileViewWorkflowServlet/ path_to_file ?type=...

Version:
$Revision: 15272 $ $Date: 2009-05-26 12:37:41 +0200 (Tue, 26 May 2009) $
Author:
Jens Kupferschmidt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
BASE_URL_ATTRIBUTE, trustedProxies
 
Constructor Summary
MCRFileViewWorkflowServlet()
           
 
Method Summary
 void doGetPost(MCRServletJob job)
          This method overrides doGetPost of MCRServlet and responds the file
 
Methods inherited from class org.mycore.frontend.servlets.MCRServlet
buildRedirectURL, doGet, doGet, doPost, doPost, generateActiveLinkErrorpage, generateErrorPage, getBaseURL, getLastModified, getLayoutService, getProperty, getRemoteAddr, getServletBaseURL, getSession, handleException, init, initTrustedProxies, render, reportException, think
 
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, 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

MCRFileViewWorkflowServlet

public MCRFileViewWorkflowServlet()
Method Detail

doGetPost

public void doGetPost(MCRServletJob job)
               throws Exception
This method overrides doGetPost of MCRServlet and responds the file

Overrides:
doGetPost in class MCRServlet
Throws:
Exception