Top Description Methods
javax.ws.rs.container

public Interface ResourceInfo

Imports
java.lang.reflect.Method

An injectable class 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, e.g. in a standalone, pre-matching ContainerRequestFilter that was not provided by a post-matching PreMatching.
Author
Santiago Pericas-Geertsen
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public Class<?>

Returns:

resource class instance or null
getResourceClass
()

Get the resource class that is the target of a request, or null if this information is not available.

public Method

Returns:

resource method instance or null
getResourceMethod
()

Get the resource method that is the target of a request, or null if this information is not available.

Method Detail

getResourceClassback to summary
public Class<?> getResourceClass()

Get the resource class that is the target of a request, or null if this information is not available.

Returns:Class<?>

resource class instance or null

See Also
getResourceMethod()
getResourceMethodback to summary
public Method getResourceMethod()

Get the resource method that is the target of a request, or null if this information is not available.

Returns:Method

resource method instance or null

See Also
getResourceClass()