Class EndpointServlet

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

@Deprecated(since="3.3.0", forRemoval=true) public final class EndpointServlet extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.3.0 in favor of @Endpoint and @WebEndpoint
Contains details of a servlet that is exposed as an actuator endpoint.
Since:
2.0.0
Author:
Phillip Webb, Julio José Gómez Díaz
  • Constructor Details

    • EndpointServlet

      public EndpointServlet(Class<? extends Servlet> servlet)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EndpointServlet

      public EndpointServlet(Servlet servlet)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • withInitParameter

      public EndpointServlet withInitParameter(String name, String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withInitParameters

      public EndpointServlet withInitParameters(Map<String,String> initParameters)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • withLoadOnStartup

      public EndpointServlet withLoadOnStartup(int loadOnStartup)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the loadOnStartup priority that will be set on Servlet registration. The default value for loadOnStartup is -1.
      Parameters:
      loadOnStartup - the initialization priority of the Servlet
      Returns:
      a new instance of EndpointServlet with the provided loadOnStartup value set
      Since:
      2.2.0
      See Also: