Interface ResourceMethodMXBean
-
- All Known Implementing Classes:
ResourceMethodMXBeanImpl
public interface ResourceMethodMXBeanMXBean interface of resource method MXBeans.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetConsumesMediaType()Get the string with media types consumed by this method, enclosed in double quotas and separated by a comma (e.g.java.lang.StringgetDeclaringClassName()Get the full class name of the class that declares the handling method.java.lang.StringgetHttpMethod()Get the HTTP method of the method.java.lang.StringgetMethodName()Get the name of the Java method.java.lang.StringgetPath()Get the sub resource method path of the method.java.lang.StringgetProducesMediaType()Get the string with media types produced by this method, enclosed in double quotas and separated by a comma (e.g.
-
-
-
Method Detail
-
getMethodName
java.lang.String getMethodName()
Get the name of the Java method.- Returns:
- Name of method.
-
getPath
java.lang.String getPath()
Get the sub resource method path of the method. This field is non-null only for sub resource methods and contains path relative to resource in which the method is defined.- Returns:
- Sub resource method path or null if the method is not a sub resource method.
-
getHttpMethod
java.lang.String getHttpMethod()
Get the HTTP method of the method.- Returns:
- HTTP method (e.g. GET, POST, ...)
-
getDeclaringClassName
java.lang.String getDeclaringClassName()
Get the full class name of the class that declares the handling method.- Returns:
- Full class name.
-
getConsumesMediaType
java.lang.String getConsumesMediaType()
Get the string with media types consumed by this method, enclosed in double quotas and separated by a comma (e.g. "text/plain","text/html").- Returns:
- Consumed media types.
-
getProducesMediaType
java.lang.String getProducesMediaType()
Get the string with media types produced by this method, enclosed in double quotas and separated by a comma (e.g. "text/plain","text/html").- Returns:
- Produced media types.
-
-