|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceFacade
ResourceFacade interface. RESTful services can be registered with more than one resource class, and the ResourceFacade allows you to select the resource class by resource name (the URI sub-path past the service root) or resource class.
Method Summary | ||
---|---|---|
|
getResource(Class<R> resourceClass)
get the resource for the provided type |
|
|
getResource(String resourceName)
get the resource corresponding to the given sub-path |
|
boolean |
isSingleResourceService()
|
Method Detail |
---|
<R> R getResource(String resourceName)
<R> R getResource(Class<R> resourceClass)
boolean isSingleResourceService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |