Class EndpointServlet
java.lang.Object
org.springframework.boot.actuate.endpoint.web.EndpointServlet
Deprecated, for removal: This API element is subject to removal in a future version.
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
ConstructorDescriptionEndpointServlet
(Servlet servlet) Deprecated, for removal: This API element is subject to removal in a future version.EndpointServlet
(Class<? extends Servlet> servlet) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionwithInitParameter
(String name, String value) Deprecated, for removal: This API element is subject to removal in a future version.withInitParameters
(Map<String, String> initParameters) Deprecated, for removal: This API element is subject to removal in a future version.withLoadOnStartup
(int loadOnStartup) Deprecated, for removal: This API element is subject to removal in a future version.Sets theloadOnStartup
priority that will be set on Servlet registration.
-
Constructor Details
-
EndpointServlet
Deprecated, for removal: This API element is subject to removal in a future version. -
EndpointServlet
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
withInitParameter
Deprecated, for removal: This API element is subject to removal in a future version. -
withInitParameters
Deprecated, for removal: This API element is subject to removal in a future version. -
withLoadOnStartup
Deprecated, for removal: This API element is subject to removal in a future version.Sets theloadOnStartup
priority that will be set on Servlet registration. The default value forloadOnStartup
is-1
.- Parameters:
loadOnStartup
- the initialization priority of the Servlet- Returns:
- a new instance of
EndpointServlet
with the providedloadOnStartup
value set - Since:
- 2.2.0
- See Also:
-
@Endpoint
and@WebEndpoint