Package com.tangosol.coherence.rest
Class PassThroughRootResource
- java.lang.Object
-
- com.tangosol.coherence.rest.DefaultRootResource
-
- com.tangosol.coherence.rest.PassThroughRootResource
-
@Path("/") public class PassThroughRootResource extends DefaultRootResource
An alternateResourceConfig
implementation that supports pass-through access to all the caches defined by the cache configuration.- Since:
- 12.2.1
- Author:
- as 2015.09.07
-
-
Field Summary
-
Fields inherited from class com.tangosol.coherence.rest.DefaultRootResource
m_config, m_serviceLocator, m_session
-
-
Constructor Summary
Constructors Constructor Description PassThroughRootResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheResource
getCacheResource(String sName)
Returns a resource representing a single named cache.-
Methods inherited from class com.tangosol.coherence.rest.DefaultRootResource
instantiateCacheResource, instantiateCacheResourceInternal
-
-
-
-
Method Detail
-
getCacheResource
@Path("{name}") public CacheResource getCacheResource(@PathParam("name") String sName)
Returns a resource representing a single named cache.- Overrides:
getCacheResource
in classDefaultRootResource
- Parameters:
sName
- resource name- Returns:
- resource representing a single named cache
-
-