Class ContainerPassThroughResourceConfig
- java.lang.Object
-
- javax.ws.rs.core.Application
-
- org.glassfish.jersey.server.ResourceConfig
-
- com.tangosol.coherence.rest.server.DefaultResourceConfig
-
- com.tangosol.coherence.rest.server.PassThroughResourceConfig
-
- com.tangosol.coherence.rest.server.ContainerPassThroughResourceConfig
-
- All Implemented Interfaces:
com.tangosol.coherence.http.HttpApplication
,javax.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>
,javax.ws.rs.core.Configuration
,org.glassfish.jersey.ExtendedConfig
,org.glassfish.jersey.server.ServerConfig
public class ContainerPassThroughResourceConfig extends PassThroughResourceConfig
An extension ofPassThroughResourceConfig
that should be used for container deployments of Coherence REST when pass-through is required.- Author:
- tam 2016.10.11
-
-
Constructor Summary
Constructors Constructor Description ContainerPassThroughResourceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isRunningInContainer()
Return whether REST API is run inside the container (true) or standalone (false).-
Methods inherited from class com.tangosol.coherence.rest.server.PassThroughResourceConfig
registerRootResource
-
Methods inherited from class com.tangosol.coherence.rest.server.DefaultResourceConfig
getExtensionsMap, registerContainerRequestFilters, registerContainerResponseFilters, registerProviders, registerResourceFilterFactories, toString
-
Methods inherited from class org.glassfish.jersey.server.ResourceConfig
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, packages, property, register, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
-
-
-
-
Method Detail
-
isRunningInContainer
protected boolean isRunningInContainer()
Description copied from class:DefaultResourceConfig
Return whether REST API is run inside the container (true) or standalone (false).- Overrides:
isRunningInContainer
in classDefaultResourceConfig
- Returns:
- whether REST API is run inside the container (true) or standalone (false)
-
-