Class IndividualController

    • Field Detail

      • ACCEPTED_CONTENT_TYPES

        public static final Map<String,​Float> ACCEPTED_CONTENT_TYPES
        Use this map to decide which MIME type is suited for the "accept" header.
    • Constructor Detail

      • IndividualController

        public IndividualController()
    • Method Detail

      • requiredActions

        public AuthorizationRequest requiredActions​(VitroRequest vreq)
        Description copied from class: FreemarkerHttpServlet
        By default, a page requires authorization for no actions. Subclasses that require authorization to process their page will override to return the actions that require authorization. In some cases, the choice of actions will depend on the contents of the request. NB This method can't be static, because then the superclass method gets called rather than the subclass method. For the same reason, it can't refer to a static or instance field REQUIRED_ACTIONS which is overridden in the subclass.
        Overrides:
        requiredActions in class FreemarkerHttpServlet
      • 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 FreemarkerHttpServlet
        Throws:
        javax.servlet.ServletException
        IOException