|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.rest.DefaultRootResource
public class DefaultRootResource
Default root resource implementation.
This class can be replaced by a custom implementation if the user wants to have more control over the mapping of URLs to caches.
This implementation simply maps the first path element of the URL to a resource with the same name (as defined in coherence-rest-config.xml) and returns a CacheResource
wrapper around it.
If the cache with a specified name does not exist, a 404 (Not Found) status code will be returned in the response.
Constructor Summary | |
---|---|
DefaultRootResource() |
Method Summary | |
---|---|
CacheResource |
getCacheResource(java.lang.String sName) Returns a resource representing single named cache. |
Constructor Detail |
---|
public DefaultRootResource()
Method Detail |
---|
public CacheResource getCacheResource(java.lang.String sName)
sName
- resource name
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |