Class GrefinePropertyListServlet

  • All Implemented Interfaces:
    MultipartRequestWrapper.ParsingStrategy, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @WebServlet(name="Google Refine Property List Service",
                urlPatterns="/get_properties_of_type")
    public class GrefinePropertyListServlet
    extends VitroHttpServlet
    This servlet is for servicing Google Refine's "Add columns from VIVO" requests.
    Author:
    Eliza Chan (elc2013@med.cornell.edu)
    See Also:
    Serialized Form
    • Constructor Detail

      • GrefinePropertyListServlet

        public GrefinePropertyListServlet()
    • Method Detail

      • doPost

        protected void doPost​(javax.servlet.http.HttpServletRequest req,
                              javax.servlet.http.HttpServletResponse resp)
                       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

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