Class StatsMixin
java.lang.Object
org.apache.juneau.rest.server.servlet.RestMixin
org.apache.juneau.rest.server.ops.StatsMixin
Mixin providing the residual
[GET /stats] timing-statistics endpoint.
Single-responsibility op-mixin carved out of the former BasicRestOperations interface. Carries
the per-method @HtmlDocConfig that customizes the /stats HTML page.
The per-method config travels with the op, while the host-wide navlinks/JSON-schema config
lives at the class level on BasicRestServlet.
- Since:
- 10.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.juneau.rest.server.servlet.RestMixin
RestMixin.Builder<R extends RestMixin,SELF extends RestMixin.Builder<R, SELF>>, RestMixin.DefaultBuilder<R extends RestMixin> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.rest.server.servlet.RestMixin
builder, getHostContext, getRestBuilder, setContext
-
Constructor Details
-
StatsMixin
public StatsMixin()
-
-
Method Details
-
getStats
[GET /stats] - Timing statistics.Timing statistics for method invocations on this resource.
- Parameters:
req- The HTTP request.- Returns:
- A collection of timing statistics for each annotated method on this resource.
-