Class QueryResultView

    • Field Detail

      • QUERY_RESULT_KEY

        public static final String QUERY_RESULT_KEY
        Key by which the query result is stored in the model.
        See Also:
        Constant Field Values
      • FACTORY_KEY

        public static final String FACTORY_KEY
        Key by which the query result writer factory is stored in the model.
        See Also:
        Constant Field Values
      • FILENAME_HINT_KEY

        public static final String FILENAME_HINT_KEY
        Key by which a filename hint is stored in the model. The filename hint may be used to present the client with a suggestion for a filename to use for storing the result.
        See Also:
        Constant Field Values
    • Constructor Detail

      • QueryResultView

        public QueryResultView()
    • Method Detail

      • render

        public final void render​(Map model,
                                 javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response)
                          throws IOException
        Specified by:
        render in interface org.springframework.web.servlet.View
        Throws:
        IOException
      • renderInternal

        protected abstract void renderInternal​(Map model,
                                               javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response)
                                        throws IOException
        Throws:
        IOException
      • setContentType

        protected void setContentType​(javax.servlet.http.HttpServletResponse response,
                                      FileFormat fileFormat)
                               throws IOException
        Throws:
        IOException
      • setContentDisposition

        protected void setContentDisposition​(Map model,
                                             javax.servlet.http.HttpServletResponse response,
                                             FileFormat fileFormat)
                                      throws IOException
        Throws:
        IOException
      • logEndOfRequest

        protected void logEndOfRequest​(javax.servlet.http.HttpServletRequest request)