Class MCRMETSServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.mets.servlets.MCRMETSServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class MCRMETSServlet extends MCRServlet
Author:
Thomas Scheffler (yagee)
See Also:
  • Field Details

    • STORE_METS_ON_GENERATE

      public static final boolean STORE_METS_ON_GENERATE
  • Constructor Details

    • MCRMETSServlet

      public MCRMETSServlet()
  • Method Details

    • 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
    • init

      public void init() throws jakarta.servlet.ServletException
      Overrides:
      init in class MCRServlet
      Throws:
      jakarta.servlet.ServletException
    • getOwnerID

      public static String getOwnerID(String pathInfo)
    • getLastModified

      protected long getLastModified(jakarta.servlet.http.HttpServletRequest request)
      Description copied from class: MCRServlet
      allows browser to cache requests. This method is usefull as it allows browsers to cache content that is not changed. Please overwrite this method in every Servlet that depends on "remote" data.
      Overrides:
      getLastModified in class MCRServlet