Class CNRestServlet

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

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

    • CNRestServlet

      public CNRestServlet()
  • Method Details

    • createHandler

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