Class JsonArrayProducer

    • Field Detail

      • ctx

        protected final javax.servlet.ServletContext ctx
    • Constructor Detail

      • JsonArrayProducer

        protected JsonArrayProducer​(VitroRequest vreq)
    • Method Detail

      • process

        protected abstract com.fasterxml.jackson.databind.node.ArrayNode process()
                                                                          throws Exception
        Sub-classes implement this method. Given the request, produce a JSON object as the result.
        Throws:
        Exception
      • process

        public final void process​(javax.servlet.http.HttpServletResponse resp)
                           throws IOException
        Throws:
        IOException