Class EndpointServlet
java.lang.Object
org.springframework.boot.actuate.endpoint.web.EndpointServlet
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 Summary
ConstructorsConstructorDescriptionEndpointServlet(Servlet servlet) EndpointServlet(Class<? extends Servlet> servlet) -
Method Summary
Modifier and TypeMethodDescriptionwithInitParameter(String name, String value) withInitParameters(Map<String, String> initParameters) withLoadOnStartup(int loadOnStartup) Sets theloadOnStartuppriority that will be set on Servlet registration.
-
Constructor Details
-
EndpointServlet
-
EndpointServlet
-
-
Method Details
-
withInitParameter
-
withInitParameters
-
withLoadOnStartup
Sets theloadOnStartuppriority that will be set on Servlet registration. The default value forloadOnStartupis-1.- Parameters:
loadOnStartup- the initialization priority of the Servlet- Returns:
- a new instance of
EndpointServletwith the providedloadOnStartupvalue set - Since:
- 2.2.0
- See Also:
-