Package jakarta.ws.rs.container
Interface ResourceInfo
- 
 public interface ResourceInfoAn injectable class to access the resource class and resource method matched by the current request. Methods in this class MAY returnnullif a resource class and method have not been matched, e.g. in a standalone, pre-matchingContainerRequestFilterthat was not provided by a post-matchingPreMatching.- Since:
- 2.0
- Author:
- Santiago Pericas-Geertsen
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getResourceClass()Get the resource class that is the target of a request, ornullif this information is not available.MethodgetResourceMethod()Get the resource method that is the target of a request, ornullif this information is not available.
 
- 
- 
- 
Method Detail- 
getResourceMethodMethod getResourceMethod() Get the resource method that is the target of a request, ornullif this information is not available.- Returns:
- resource method instance or null
- See Also:
- getResourceClass()
 
 - 
getResourceClassClass<?> getResourceClass() Get the resource class that is the target of a request, ornullif this information is not available.- Returns:
- resource class instance or null
- See Also:
- getResourceMethod()
 
 
- 
 
-