Interface ServletContainerInterceptor


  • @Contract
    public interface ServletContainerInterceptor
    Contract interface for registering ServletContainerInterceptor to the Web Container. It can be inherited by anyone who want to extend the Web Container.
    Author:
    Jeremy_Lv
    • Method Detail

      • preInvoke

        void preInvoke​(Request req,
                       Response res)
        User can set some useful informations before invoking the Servlet application
        Parameters:
        req -
        res -
      • postInvoke

        void postInvoke​(Request req,
                        Response res)
        User can remove some useful informations after invoking the Servlet application
        Parameters:
        req -
        res -