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.
    Christopher Mindus
    • Method Detail

      • handle

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