Package org.restheart.metrics
Class RequestsMetricsCollector
java.lang.Object
org.restheart.metrics.RequestsMetricsCollector
- All Implemented Interfaces:
ConfigurablePlugin,ExchangeTypeResolver<ServiceRequest<?>,,ServiceResponse<?>> Interceptor<ServiceRequest<?>,,ServiceResponse<?>> Plugin,WildcardInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ServiceRequest<?> request, ServiceResponse<?> response) voidonInit()booleanresolve(ServiceRequest<?> request, ServiceResponse<?> response) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.restheart.plugins.ConfigurablePlugin
arg, argOrDefaultMethods inherited from interface org.restheart.plugins.ExchangeTypeResolver
requestType, responseType
-
Constructor Details
-
RequestsMetricsCollector
public RequestsMetricsCollector()
-
-
Method Details
-
onInit
public void onInit() -
handle
- Specified by:
handlein interfaceInterceptor<ServiceRequest<?>,ServiceResponse<?>> - Throws:
Exception
-
resolve
- Specified by:
resolvein interfaceInterceptor<ServiceRequest<?>,ServiceResponse<?>>
-