Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DataSourceLoader: public method "processRequest"

    Hi Isomorphic,

    can you maybe create public method "processRequest", so that I don't need to @Override it. And of course, docs it all.
    It would be way more easier to see what possibilities I have.

    Code:
    public class LMSDataSourceLoader extends DataSourceLoader {
        private static final long serialVersionUID = 5069263611843001908L;
    
        @Override
        public void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            // CHECK, if OK
            super.processRequest(request, response);
            // ESLE some error message
        }
    }
    And I would love to have clear error message if possible, same as here IDACall: Display error message

    Best regards
    Pavo

    #2
    You should not attempt to override undocumented methods. This may cause your code to break in future versions, or even if some kind of bugfix goes in, because we don't try to preserve undocumented behavior.

    You haven't given any reason why you would need to override this internal method as opposed to standard methods like doGet and doPost. If you can explain why you think you need an override here, we can help.

    Comment

    Working...
    X