Package org.mycore.frontend.servlets
Class MCRDerivateContentTransformerServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.servlets.MCRContentServlet
org.mycore.frontend.servlets.MCRDerivateContentTransformerServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
This servlet transforms and delivers xml content from a derivate.
usage:
servlet/derivate_id/path/to/file.xml
- Author:
- mcrshofm
- See Also:
-
Field Summary
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
ATTR_MYCORE_SESSION, CURRENT_THREAD_NAME_KEY, INITIAL_SERVLET_NAME_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContent
(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) Returns MCRContent matching current request.Methods inherited from class org.mycore.frontend.servlets.MCRContentServlet
doHead, doOptions, getConfig, init, render
Methods inherited from class org.mycore.frontend.servlets.MCRServlet
allowCrossDomainRequests, buildRedirectURL, cleanupMCRSession, doGet, doGet, doGetPost, doPost, doPost, getErrorI18N, getLastModified, getLayoutService, getProperty, getReferer, getServletBaseURL, getSession, handleException, initializeMCRSession, reportException, think, toReferrer, toReferrer
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doPut, doTrace, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
MCRDerivateContentTransformerServlet
public MCRDerivateContentTransformerServlet()
-
-
Method Details
-
getContent
public MCRContent getContent(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException Description copied from class:MCRContentServlet
Returns MCRContent matching current request.- Specified by:
getContent
in classMCRContentServlet
- Throws:
IOException
-