org.mycore.frontend.wcms
Class MCRWCMSServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.wcms.MCRWCMSServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- MCRWCMSActionServlet, MCRWCMSAdminServlet, MCRWCMSChooseServlet, MCRWCMSFileUploadServlet, MCRWCMSGetStaticHTMLServlet, MCRWCMSLoginServlet
public abstract class MCRWCMSServlet
- extends MCRServlet
- Author:
- Andreas Trappe, Thomas Scheffler
Need to insert some things here
- See Also:
- Serialized Form
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OUTPUT_ENCODING
protected static final String OUTPUT_ENCODING
- See Also:
- Constant Field Values
VALIDATOR
protected static final String VALIDATOR
- See Also:
- Constant Field Values
MCRWCMSServlet
public MCRWCMSServlet()
doGetPost
protected void doGetPost(MCRServletJob job)
throws Exception
- Description copied from class:
MCRServlet
- This method should be overwritten by other servlets. As a default
response we indicate the HTTP 1.1 status code 501 (Not Implemented).
- Overrides:
doGetPost in class MCRServlet
- Throws:
Exception
accessGeneral
protected final boolean accessGeneral()
getTemplates
public Element getTemplates()
XMLFile2JDOM
final Document XMLFile2JDOM(String pathOfFile)
throws IOException,
JDOMException
- Throws:
IOException
JDOMException
processRequest
protected abstract void processRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
getMultimediaConfig
public Element getMultimediaConfig(Element root)
- Attaches on the given JDOM-Element an JDOM-Element with the configuration
of available multimedia objects (images, misc. documents).
- Parameters:
root -
- Returns: