Package io.micronaut.jaxrs.container
Class JaxRsResourceInfo
java.lang.Object
io.micronaut.jaxrs.container.JaxRsResourceInfo
- All Implemented Interfaces:
RequestAware
,ResourceInfo
@RequestScope
@Internal
public class JaxRsResourceInfo
extends Object
implements RequestAware, ResourceInfo
A
RequestScope
bean implementing the JAX-RS ResourceInfo to access the resource class and resource method matched by the current request.
Methods in this class MAY return null
if a resource class and method have not been matched.- Since:
- 4.1.0
- Author:
- Tim Yates
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JaxRsResourceInfo
public JaxRsResourceInfo()
-
-
Method Details
-
setRequest
- Specified by:
setRequest
in interfaceRequestAware
-
getResourceMethod
- Specified by:
getResourceMethod
in interfaceResourceInfo
-
getResourceClass
- Specified by:
getResourceClass
in interfaceResourceInfo
-