Class ControllerXml

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.io.Writer out  
      protected javax.servlet.http.HttpServletRequest request  
      protected javax.servlet.http.HttpServletResponse response  
      protected SessionConfig sessionConfig  
    • Constructor Summary

      Constructors 
      Constructor Description
      ControllerXml​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
    • Field Detail

      • request

        protected javax.servlet.http.HttpServletRequest request
      • response

        protected javax.servlet.http.HttpServletResponse response
      • out

        protected java.io.Writer out
    • Method Detail

      • getResponseXml

        public static java.lang.String getResponseXml​(java.lang.String innerXml)
        Parameters:
        innerXml -
        Returns:
        wraps the xml within response xml tags
      • getResponseXml

        public static java.lang.String getResponseXml()
      • checkRequestIsPost

        protected void checkRequestIsPost()
        Checks if the current request method is POST.
        Throws:
        java.lang.IllegalArgumentException - if the request method is not POST.
        Since:
        15.0.1