Class OntologyController

    • Constructor Detail

      • OntologyController

        public OntologyController()
    • Method Detail

      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           IOException
        Description copied from class: VitroHttpServlet
        doPost does the same thing as the doGet method
        Overrides:
        doPost in class VitroHttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse res)
                   throws javax.servlet.ServletException,
                          IOException
        Description copied from class: VitroHttpServlet
        doGet does nothing.
        Overrides:
        doGet in class VitroHttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • checkForLinkedDataRequest

        protected ContentType checkForLinkedDataRequest​(String url,
                                                        String acceptHeader)