Class VitroApiServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
    Direct Known Subclasses:
    IndividualListRdfController, SparqlQueryApiController, SparqlUpdateApiController

    public class VitroApiServlet
    extends javax.servlet.http.HttpServlet
    The base class for Vitro servlets that implement the API. We don't want the API servlets to extend VitroHttpServlet, because we want the following behavior:
    • No redirecting to the login page if not authorized
    • No redirecting to the home page on insufficient authorization
    • GET and POST requests are not necessarily equivalent.
    See Also:
    Serialized Form