Package com.iizix.web

Interface ICommonServletInterface


  • public interface ICommonServletInterface
    Common Servlet interface used to intercept GET/POST/... requests. The typical usage of this interface is to intercept any kind of web request, but not to be used as a Servlet for a particular "request path" or URI.
    Author:
    Christopher Mindus
    • Method Detail

      • handle

        boolean handle​(HttpServletRequest request,
                       HttpServletResponse response)
                throws ServletException,
                       java.io.IOException
        Checks if the servlet is handling the request or not.
        Parameters:
        request - The request.
        response - The response.
        Returns:
        true if handled, false otherwise.
        Throws:
        ServletException - For Servlet exceptions.
        java.io.IOException - For I/O errors.