Class ContainerPassThroughResourceConfig
java.lang.Object
jakarta.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,jakarta.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>,jakarta.ws.rs.core.Configuration,org.glassfish.jersey.ExtendedConfig,org.glassfish.jersey.server.ServerConfig
An extension of
PassThroughResourceConfig that should be used for
container deployments of Coherence REST when pass-through is required.- Author:
- tam 2016.10.11
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanReturn whether REST API is run inside the container (true) or standalone (false).Methods inherited from class com.tangosol.coherence.rest.server.PassThroughResourceConfig
registerRootResourceMethods inherited from class com.tangosol.coherence.rest.server.DefaultResourceConfig
getExtensionsMap, registerContainerRequestFilters, registerContainerResponseFilters, registerProviders, registerResourceFilterFactories, toStringMethods inherited from class org.glassfish.jersey.server.ResourceConfig
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getApplicationPath, 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, setPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.tangosol.coherence.http.HttpApplication
configure, getPath
-
Constructor Details
-
ContainerPassThroughResourceConfig
public ContainerPassThroughResourceConfig()
-
-
Method Details
-
isRunningInContainer
protected boolean isRunningInContainer()Description copied from class:DefaultResourceConfigReturn whether REST API is run inside the container (true) or standalone (false).- Overrides:
isRunningInContainerin classDefaultResourceConfig- Returns:
- whether REST API is run inside the container (true) or standalone (false)
-