Class MNRestServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.ucsb.nceas.metacat.restservice.D1RestServlet
edu.ucsb.nceas.metacat.restservice.v1.MNRestServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class MNRestServlet extends D1RestServlet
Routes MN REST service requests to the appropriate handler
See Also:
  • Constructor Details

    • MNRestServlet

      public MNRestServlet()
  • Method Details

    • createHandler

      protected D1ResourceHandler createHandler(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Provide an MNResourceHandler subclass of D1ResourceHandler
      Overrides:
      createHandler in class D1RestServlet
      Returns:
      Throws:
      javax.servlet.ServletException
      IOException