接口 MockServletWebServer.Initializer

封闭类:
MockServletWebServer
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface protected static interface MockServletWebServer.Initializer
Initializer (usually implement by adapting Initializer).
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    onStartup(jakarta.servlet.ServletContext context)
     
  • 方法详细资料

    • onStartup

      void onStartup(jakarta.servlet.ServletContext context) throws jakarta.servlet.ServletException
      抛出:
      jakarta.servlet.ServletException