类 EndpointServlet

java.lang.Object
org.springframework.boot.actuate.endpoint.web.EndpointServlet

@Deprecated(since="3.3.0", forRemoval=true) public final class EndpointServlet extends Object
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 3.3.0 in favor of @Endpoint and @WebEndpoint
Contains details of a servlet that is exposed as an actuator endpoint.
从以下版本开始:
2.0.0
作者:
Phillip Webb, Julio José Gómez Díaz
  • 构造器详细资料

    • EndpointServlet

      public EndpointServlet(Class<? extends Servlet> servlet)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
    • EndpointServlet

      public EndpointServlet(Servlet servlet)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
  • 方法详细资料

    • withInitParameter

      public EndpointServlet withInitParameter(String name, String value)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
    • withInitParameters

      public EndpointServlet withInitParameters(Map<String,String> initParameters)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
    • withLoadOnStartup

      public EndpointServlet withLoadOnStartup(int loadOnStartup)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
      Sets the loadOnStartup priority that will be set on Servlet registration. The default value for loadOnStartup is -1.
      参数:
      loadOnStartup - the initialization priority of the Servlet
      返回:
      a new instance of EndpointServlet with the provided loadOnStartup value set
      从以下版本开始:
      2.2.0
      另请参阅: