Class AbstractJspServletCallback

    • Field Detail

      • prefix

        protected String prefix
      • suffix

        protected String suffix
    • Constructor Detail

    • Method Detail

      • forward

        protected void forward​(javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse res,
                               String view,
                               Map<String,​Object> model)
                        throws javax.servlet.ServletException,
                               IOException
        Throws:
        javax.servlet.ServletException
        IOException
      • include

        protected void include​(javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse res,
                               String view,
                               Map<String,​Object> model)
                        throws javax.servlet.ServletException,
                               IOException
        Throws:
        javax.servlet.ServletException
        IOException
      • setAttributes

        protected void setAttributes​(javax.servlet.http.HttpServletRequest req,
                                     Map<String,​Object> model)
      • getContentType

        public String getContentType()
        Specified by:
        getContentType in interface ServletCallback
        Returns:
        Тип контента http ответа (content-type)