Interface ResourceMethodMXBean
public interface ResourceMethodMXBean
MXBean interface of resource method MXBeans.
- Author:
- Miroslav Fuksa
-
Method Summary
Modifier and TypeMethodDescriptionGet the string with media types consumed by this method, enclosed in double quotas and separated by a comma (e.g.Get the full class name of the class that declares the handling method.Get the HTTP method of the method.Get the name of the Java method.getPath()
Get the sub resource method path of the method.Get the string with media types produced by this method, enclosed in double quotas and separated by a comma (e.g.
-
Method Details
-
getMethodName
String getMethodName()Get the name of the Java method.- Returns:
- Name of method.
-
getPath
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
String getHttpMethod()Get the HTTP method of the method.- Returns:
- HTTP method (e.g. GET, POST, ...)
-
getDeclaringClassName
String getDeclaringClassName()Get the full class name of the class that declares the handling method.- Returns:
- Full class name.
-
getConsumesMediaType
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
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.
-