org.glassfish.jersey.server.internal.monitoring
Class MonitoringUtils

java.lang.Object
  extended by org.glassfish.jersey.server.internal.monitoring.MonitoringUtils

public class MonitoringUtils
extends Object

Monitoring helper class that contains utility methods used in Monitoring.

Author:
Miroslav Fuksa (miroslav.fuksa at oracle.com)

Constructor Summary
MonitoringUtils()
           
 
Method Summary
static String getMethodUniqueId(ResourceMethod method)
          Get the method unique string ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringUtils

public MonitoringUtils()
Method Detail

getMethodUniqueId

public static String getMethodUniqueId(ResourceMethod method)
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-name

If 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.


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.