Class CNRestServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.ucsb.nceas.metacat.restservice.D1RestServlet
edu.ucsb.nceas.metacat.restservice.v2.CNRestServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
Routes CN REST service requests to the appropriate handler
- See Also:
-
Field Summary
Fields inherited from class edu.ucsb.nceas.metacat.restservice.D1RestServlet
isMetacatConfigured, logMetacat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected D1ResourceHandler
createHandler
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Provide a CNResourceHandler subclass of D1ResourceHandlerMethods inherited from class edu.ucsb.nceas.metacat.restservice.D1RestServlet
checkIfConfigured, doDelete, doGet, doHead, doPost, doPut, init
Methods inherited from class javax.servlet.http.HttpServlet
doOptions, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
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 classD1RestServlet
- Returns:
- Throws:
javax.servlet.ServletException
IOException
-