Class MonitoringUtils
java.lang.Object
org.glassfish.jersey.server.internal.monitoring.MonitoringUtils
Monitoring helper class that contains utility methods used in
Monitoring.
- Author:
- Miroslav Fuksa
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getMethodUniqueId
(ResourceMethod method) Get the method unique string ID.
-
Method Details
-
getMethodUniqueId
Get the method unique string ID. The ID is constructed from method attributes separated by pipe '|'. The attributes are used in the following order: method-produces|method-consumes|http-method|method-path|method-java-nameIf any of the attributes is not defined, "null" is used for such an attribute.
- Parameters:
method
- Resource method.- Returns:
- String constructed from resource method parameters.
-