| Modifier and Type | Class and Description |
|---|---|
class |
LogService |
class |
StatService |
| Modifier and Type | Method and Description |
|---|---|
void |
StatService.addJmx(StatSystem.JmxItem item) |
void |
StatService.addJmxDelta(StatSystem.JmxItem item) |
void |
LogService.setEnable(boolean isEnable)
Deprecated.
|
void |
LogService.setExpireTimeout(Period period)
Sets the length of time the log entries will be saved before being
removed.
|
void |
LogService.setLevel(java.lang.String level)
Sets the level of records to capture, default is "info".
|
void |
LogService.setPath(java.lang.String path)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OpenPort.setAddress(java.lang.String address)
Sets the address
|
void |
BootResinConfig.setElasticDns(boolean isElasticDns) |
void |
BootResinConfig.setElasticServer(java.lang.String servers) |
void |
BootResinConfig.setElasticServerPort(int port) |
void |
BootResinConfig.setHomeCluster(java.lang.String homeCluster) |
void |
BootResinConfig.setHomeServer(java.lang.String homeServer) |
void |
BootClusterConfig.setId(java.lang.String id) |
void |
BootResinConfig.setJoinCluster(java.lang.String joinCluster) |
| Modifier and Type | Class and Description |
|---|---|
class |
LoadBalanceBackend |
| Modifier and Type | Method and Description |
|---|---|
void |
LoadBalanceBackend.setAddress(java.lang.String address) |
void |
LoadBalanceBackend.setBusyRecoverTime(Period recoverTime) |
void |
LoadBalanceBackend.setBusyRecoverTimeMs(long recoverTime) |
void |
LoadBalanceBackend.setConnectionMin(int connectionMin) |
void |
LoadBalanceBackend.setConnectTimeout(Period connectTimeout) |
void |
LoadBalanceBackend.setConnectTimeoutMs(long connectTimeout) |
void |
LoadBalanceBackend.setIdleTime(Period idleTime) |
void |
LoadBalanceBackend.setIdleTimeMs(long idleTime) |
void |
LoadBalanceBackend.setRecoverTime(Period recoverTime) |
void |
LoadBalanceBackend.setRecoverTimeMs(long recoverTime) |
void |
LoadBalanceBackend.setSocketTimeout(Period socketTimeout) |
void |
LoadBalanceBackend.setSocketTimeoutMs(long socketTimeout) |
void |
LoadBalanceBackend.setSSL(boolean isSSL) |
void |
LoadBalanceBackend.setWarmupTime(Period warmupTime) |
void |
LoadBalanceBackend.setWarmupTimeMs(long warmupTime) |
void |
LoadBalanceBackend.setWeight(int weight) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterServer.add(ProtocolPort protocolPort) |
void |
NetworkServerConfig.add(ProtocolPort protocolPort) |
void |
ClusterServer.addContentProgram(ConfigProgram program)
Adds a program.
|
void |
NetworkServerConfig.addContentProgram(ConfigProgram builder) |
void |
ClusterServer.addListenDefault(ConfigProgram program)
Adds a listen-default
|
void |
NetworkServerConfig.addListenDefault(ConfigProgram program)
Adds a listen-default
|
void |
ClusterServer.addPortDefault(ContainerProgram program)
Adds a port-default
|
void |
NetworkServerConfig.addPortDefault(ContainerProgram program)
Adds a port-default
|
TcpPort |
NetworkServerConfig.createClusterPort() |
TcpPort |
ClusterServer.createHttp() |
TcpPort |
NetworkServerConfig.createHttp() |
TcpPort |
ClusterServer.createListen() |
TcpPort |
NetworkServerConfig.createListen() |
TcpPort |
ClusterServer.createProtocol() |
TcpPort |
NetworkServerConfig.createProtocol() |
void |
NetworkServerConfig.setBindPortsAfterStart(boolean bindAtEnd)
If true, ports are bound at end.
|
void |
NetworkServerConfig.setClusterIdleTime(Period period) |
void |
ClusterServer.setClusterSocketTimeout(Period period) |
void |
NetworkServerConfig.setClusterSocketTimeout(Period period) |
void |
NetworkServerConfig.setKeepaliveSelectEnable(boolean isEnable) |
void |
ClusterServer.setLoadBalanceConnectionMin(int min)
The minimum number of load balance connections for green load balancing.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClusterLock
Distributed lock.
|
class |
ClusterVoteManager
Distributed vote manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterVoteManager.setName(java.lang.String name)
Assigns the name of the lock.
|
void |
AbstractLock.setName(java.lang.String name)
Assigns the name of the lock.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DataSourceRef.addProperty(com.caucho.config.types.DataSourceRef.Property prop) |
void |
DataSourceRef.setClassName(java.lang.Class<?> cl) |
void |
DataSourceRef.setDatabaseName(java.lang.String value) |
void |
DataSourceRef.setName(java.lang.String name) |
void |
DataSourceRef.setPassword(java.lang.String password) |
void |
DataSourceRef.setPortNumber(int value) |
void |
DataSourceRef.setServerName(java.lang.String value) |
void |
DataSourceRef.setUrl(java.lang.String url) |
void |
DataSourceRef.setUser(java.lang.String userName) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClusterCache
Cache which stores consistent copies on the cluster segment.
|
class |
LocalCache
Cache which stores consistent copies on the cluster segment.
|
class |
TransientCache
Cache with no persistence.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCache.setAccessedExpireTimeout(Period period)
The maximum idle time for an item, which is typically used for
temporary data like sessions.
|
void |
AbstractCache.setAccessedExpireTimeoutMillis(long timeout)
Sets the idle timeout in milliseconds
|
void |
AbstractCache.setCacheLoader(CacheLoader loader)
Sets the CacheLoader that the Cache can then use to populate
cache misses from a reference store (database).
|
void |
AbstractCache.setCacheReaderWriter(CacheLoader loader)
Sets the CacheLoader and CacheWriter which the Cache can then use
to populate cache misses from a reference store (database).
|
void |
AbstractCache.setCacheWriter(CacheWriter writer)
Sets the CacheWrite that the Cache can then use to save
cache misses from a reference store (database).
|
void |
AbstractCache.setExpireTimeout(Period expireTimeout)
Backwards compat.
|
void |
AbstractCache.setIdleTimeout(Period period) |
void |
AbstractCache.setLeaseExpireTimeout(Period period)
The lease timeout is the time a server can use the local version
if it owns it, before a timeout.
|
void |
AbstractCache.setLeaseExpireTimeoutMillis(long timeout)
The lease timeout is the time a server can use the local version
if it owns it, before a timeout.
|
void |
AbstractCache.setLeaseTimeout(Period period) |
void |
AbstractCache.setLocalExpireTimeout(Period period)
The local read timeout sets how long a local copy of
a cache item can be reused before checking with the master copy.
|
void |
AbstractCache.setLocalExpireTimeoutMillis(long period)
The local read timeout sets how long a local copy of
a cache item can be reused before checking with the master copy.
|
void |
AbstractCache.setLocalReadTimeout(Period period)
Backwards compat.
|
void |
AbstractCache.setManagerName(java.lang.String managerName) |
void |
AbstractCache.setMemorySizeMin(Bytes size)
Sets the minimum memory size for the internal byte buffer cache.
|
void |
AbstractCache.setModifiedExpireTimeout(Period expireTimeout)
The maximum valid time for a cached item before it expires.
|
void |
AbstractCache.setModifiedExpireTimeoutMillis(long expireTimeout)
The maximum valid time for an item.
|
void |
AbstractCache.setName(java.lang.String name)
Assigns the name of the cache.
|
void |
AbstractCache.setReadThrough(boolean isReadThrough) |
void |
AbstractCache.setReadThroughExpireTimeout(Period timeout) |
void |
AbstractCache.setSerializer(CacheSerializer serializer)
Assign the serializer used on values.
|
void |
AbstractCache.setWriteThrough(boolean isWriteThrough) |
| Modifier and Type | Class and Description |
|---|---|
class |
JmsActivationConfig
Configuration for a JMS/JNDI based MessageDrivenBean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EjbBean.addConcurrentMethod(ConcurrentMethod<X> concurrentMethod)
Adds a new concurrent-method
|
void |
EjbBean.addRemoveMethod(RemoveMethod<X> removeMethod)
Adds a new remove-method
|
void |
JmsActivationConfig.setConnectionFactoryJndiName(java.lang.String jndiName)
The JNDI name of a configured ConnectionFactory.
|
void |
JmsActivationConfig.setConnectionFactoryName(java.lang.String name)
The CDI @Named value for a configured ConnectionFactory.
|
void |
JmsActivationConfig.setDestinationJndiName(java.lang.String jndiName) |
void |
JmsActivationConfig.setDestinationName(java.lang.String jndiName) |
void |
JmsActivationConfig.setDestinationType(java.lang.Class<?> type)
javax.jms.Queue or javax.jms.Topic
|
void |
EjbSingletonBean.setInitOnStartup(boolean isInit) |
void |
JmsActivationConfig.setMaxPoolSize(int poolSize)
Configures the maximum pool of listeners.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractEjbBeanManager.setBusinessLocal(java.lang.Class<?> local) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExpandDeployGenerator.addExpandCleanupFileset(FileSetType include) |
void |
DeployConfig.addExpandCleanupFileset(FileSetType include)
Sets the archive auto-remove file set.
|
void |
ExpandDeployController.addExpandCleanupFileSet(PathPatternType include)
Sets the archive auto-remove file set.
|
void |
ExpandDeployGenerator.addExpandPreserveFileset(FileSetType exclude) |
void |
DeployConfig.addExpandPreserveFileset(FileSetType exclude) |
void |
ExpandDeployController.addExpandPreserveFileset(PathPatternType exclude)
Sets the archive auto-remove file set.
|
void |
DeployGenerator.setStartupMode(DeployMode mode)
Sets the startup mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JmxExpr.JmxDelta.setOptional(boolean optional) |
| Modifier and Type | Method and Description |
|---|---|
void |
CsrfFilter.addAllow(java.lang.String entry)
Adds an allowed URL, without the check
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileQueue<X extends java.io.Serializable>
A JMS queue backed by a file-based database.
|
class |
FileTopic<E>
A JMS topic backed by a file-based database.
|
class |
MemoryQueue<X>
A JMS queue stored in memory.
|
class |
MemoryTopic
A JMS topic stored in memory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractDestination.setName(java.lang.String name)
Sets the name of the destination
|
| Modifier and Type | Class and Description |
|---|---|
class |
LibraryLoader
Class loader which checks for changes in class files and automatically
picks up new jars.
|
class |
SimpleLoader
Class loader which checks for changes in class files and automatically
picks up new jars.
|
class |
TreeLoader
Class loader which checks for changes in class files and automatically
picks up new jars.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LogHandlerConfig
Configuration for the
|
class |
PathHandler
Configures a log handler
|
| Modifier and Type | Method and Description |
|---|---|
void |
LogHandlerConfig.add(java.util.logging.Handler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
MemcachedClient.setModifiedExpireTimeout(Period timeout) |
| Modifier and Type | Class and Description |
|---|---|
class |
TcpPort
Represents a protocol connection.
|
class |
Throttle
Throttles connections
|
| Modifier and Type | Method and Description |
|---|---|
void |
TcpPort.addContentProgram(ConfigProgram program)
Ignore unknown tags.
|
SSLFactory |
TcpPort.createOpenssl()
Sets the SSL factory
|
void |
TcpPort.setAcceptListenBacklog(int listen)
Sets the operating system listen backlog
|
void |
TcpPort.setAcceptThreadIdleTimeout(Period timeout)
Sets the minimum spare idle timeout.
|
void |
TcpPort.setAcceptThreadMax(int maxSpare)
Sets the minimum spare listen.
|
void |
TcpPort.setAcceptThreadMin(int minSpare)
Sets the minimum spare listen.
|
void |
TcpPort.setAddress(java.lang.String address)
Sets the address
|
void |
TcpPort.setConnectionMax(int max)
Sets the connection max.
|
void |
TcpPort.setPort(int port)
Sets the port.
|
void |
TcpPort.setPortThreadMax(int max) |
void |
TcpPort.setSecure(boolean isSecure)
Sets true for secure
|
void |
TcpPort.setSocketTimeout(Period period)
Sets the read/write timeout for the accepted sockets.
|
void |
TcpPort.setTcpCork(boolean tcpCork)
Sets the tcp-no-delay property
|
void |
TcpPort.setTcpKeepalive(boolean tcpKeepalive)
Sets the tcp-keepalive property
|
void |
TcpPort.setTcpNoDelay(boolean tcpNoDelay)
Sets the tcp-no-delay property
|
void |
TcpPort.setThrottleConcurrentMax(int max)
Configures the throttle.
|
void |
TcpPort.setVirtualHost(java.lang.String host)
Sets the virtual host for IP-based virtual host.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ScheduledTask
The cron resources starts application Work tasks at cron-specified
intervals.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScheduledTask.add(java.lang.Runnable task) |
void |
ScheduledTask.setCron(java.lang.String cron)
Sets the cron interval.
|
void |
ScheduledTaskConfig.setDelay(Period delay)
Deprecated.
Sets the delay
|
void |
ScheduledTask.setDelay(Period delay)
Sets the delay
|
void |
ScheduledTask.setMethod(MethodExpression method)
Sets the method expression as a task
|
void |
ScheduledTaskConfig.setPeriod(Period period)
Deprecated.
Sets the period
|
void |
ScheduledTask.setPeriod(Period period)
Sets the period
|
void |
ScheduledTaskConfig.setTask(java.lang.Runnable task)
Deprecated.
Sets the task.
|
void |
ScheduledTask.setTask(java.lang.Runnable task)
Sets the task.
|
void |
ScheduledTask.setUrl(java.lang.String url)
Sets the url expression as a task
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTargetDispatchRule |
class |
AddHeader
Sets a response header in a rewrite rule or as a top-level filter.
|
class |
And
Matches if all of the child predicates match.
|
class |
Dispatch
Dispatch the request using the standard servlet and filter processing.
|
class |
FastCgiProxy
Dispatches a request to a backend server using FastCGI as the proxy
protocol.
|
class |
Forbidden
Sends a HTTP Forbidden response using response.sendError(SC_FORBIDDEN).
|
class |
Forward
Forwards a requests using the servlet RequestDispatcher.forward call
protocol.
|
class |
HttpProxy
Dispatches a request to a backend server using HTTP as the proxy
protocol.
|
class |
IfAuthType
Matches if the auth-type is equal to the specified value.
|
class |
IfCookie
Passes if the named HTTP cookie exists and has a value
that matches a regular expression.
|
class |
IfCron
Match if the request occurs during enabled times.
|
class |
IfFileExists
Match if the file specified by getRealPath() exists in the filesystem.
|
class |
IfHeader
Passes if the named header exists and has a value
that matches a regular expression.
|
class |
IfLocale
Match if the request's locale matches an expression.
|
class |
IfLocalPort
Matches if request.getLocalPort() matches the 'value' attribute.
|
class |
IfMBeanEnabled
Matches if the MBean is enabled and does not match if it's not enabled.
|
class |
IfMethod
Match if the HTTP method matches the value.
|
class |
IfNetwork
Match if the remote IP address matches one of the pattern networks.
|
class |
IfPathInfo
Passes if the named parameter exists and has a value
that matches a regular expression.
|
class |
IfProtocolVersion
Match if the request is secure, i.e.
|
class |
IfQueryParam
Passes if the named parameter exists and has a value
that matches a regular expression.
|
class |
IfRemoteAddr |
class |
IfRemoteUser
A rewrite condition that passes if the client has been authenticated
and the remote user has the specified name, as determined by
HttpServletRequest.getRemoteUser(). |
class |
IfSecure
Match if the request is secure, i.e.
|
class |
IfServerName
A rewrite condition that passes if the server name matches.
|
class |
IfThrottle |
class |
IfUserInRole
Match if the user is in any of the given roles,
i.e.
|
class |
Location
Filter container which matches URLs and conditions and contains child
actions.
|
class |
MovedPermanently
Sends a HTTP moved-permanently response
|
class |
Not
True if the child predicate is false.
|
class |
NotFound
Sends a HTTP 404 Not Found response
|
class |
NotOr
Matches if none of the child predicates match.
|
class |
Or
Matches if any of the child predicates match.
|
class |
Redirect |
class |
RedirectSecure |
class |
Rewrite |
class |
SendError
Sends a HTTP error response using response.sendError(code)
|
class |
SetHeader
Sets a response header in a rewrite rule or as a top-level filter.
|
class |
SetRequestCharacterEncoding
Sets the request character encoding in a rewrite rule or as a top-level filter.
|
class |
SetRequestSecure |
class |
SetVary
Sets a response Vary header to control caching based on input headers,
e.g.
|
class |
WelcomeFile
Manages the welcome-file as a rewrite-dispatch.
|
| Modifier and Type | Method and Description |
|---|---|
void |
And.add(RequestPredicate predicate)
Add a child predicate.
|
void |
Not.add(RequestPredicate predicate)
Add a child predicate.
|
void |
NotAnd.add(RequestPredicate predicate)
Add a child predicate.
|
void |
NotOr.add(RequestPredicate predicate)
Add a child predicate.
|
void |
FastCgiProxy.addAddress(java.lang.String address)
Adds a backend FastCGI server address like "127.0.0.1:8081"
|
void |
HttpProxy.addAddress(java.lang.String address)
Adds a backend HTTP server address like "127.0.0.1:8081"
|
void |
HttpProxy.addBackend(LoadBalanceBackend backend) |
void |
HttpProxy.addHost(java.lang.String host) |
void |
IfUserInRole.addRole(java.lang.String role)
Adds a role to check.
|
void |
IfNetwork.addValue(java.lang.String network)
Add an ip network to allow.
|
LoadBalanceBackend |
HttpProxy.createBackend() |
void |
Forward.setAbsoluteTarget(java.lang.String target) |
void |
HttpProxy.setAddresses(java.lang.String addresses) |
void |
IfNetwork.setCacheSize(int cacheSize)
Size of the cache used to hold whether or not to allow a certain IP
address, default is 256.
|
void |
HttpProxy.setConnectionMin(int connectionMin) |
void |
HttpProxy.setConnectTimeout(Period connectTimeout) |
void |
IfCron.setDisableAt(CronType disableAt)
Sets the cron disable times.
|
void |
IfCron.setEnableAt(CronType enableAt)
Sets the cron enable times.
|
void |
IfMBeanEnabled.setEnabled(boolean isEnabled)
Sets true if the default is to enable.
|
void |
FastCgiProxy.setFailRecoverTime(Period period)
Sets the timeout to recover from a failed connection to the backend.
|
void |
HttpProxy.setIdleTime(Period idleTime) |
void |
IfMethod.setMethod(java.lang.String value)
Sets the HTTP method value to test: GET, POST, etc..
|
void |
IfHeader.setName(java.lang.String name)
Sets the HTTP header name to test.
|
void |
IfCookie.setName(java.lang.String name)
Sets the HTTP cookie name to test.
|
void |
IfMBeanEnabled.setName(java.lang.String name)
Sets the MBean name.
|
void |
IfQueryParam.setName(java.lang.String name)
Sets the name of the query parameter to test.
|
void |
AddHeader.setName(java.lang.String name)
Sets the HTTP header name
|
void |
SetHeader.setName(java.lang.String name)
Sets the HTTP header name
|
void |
HttpProxy.setRecoverTime(Period recoverTime) |
void |
IfPathInfo.setRegexp(java.util.regex.Pattern regexp)
Sets the regular expression to compare against the query parameter.
|
void |
IfHeader.setRegexp(java.util.regex.Pattern regexp)
Sets the HTTP header regexp to compare against.
|
void |
IfCookie.setRegexp(java.util.regex.Pattern regexp)
Sets a regexp to compare against the cookie value.
|
void |
IfQueryParam.setRegexp(java.util.regex.Pattern regexp)
Sets the regular expression to compare against the query parameter.
|
void |
HttpProxy.setSocketTimeout(Period socketTimeout) |
void |
HttpProxy.setStrategy(java.lang.String strategy)
Sets the strategy for the load balancer
|
void |
Forward.setTarget(java.lang.String target) |
void |
Forward.setTargetHost(java.lang.String target) |
void |
IfSecure.setValue(boolean value)
Sets the secure value to test against.
|
void |
SetRequestSecure.setValue(boolean isSecure) |
void |
IfLocalPort.setValue(int value)
Sets the local port to compare
|
void |
IfLocale.setValue(java.util.regex.Pattern regexp)
The locale value to test against
|
void |
IfProtocolVersion.setValue(java.util.regex.Pattern value)
Sets the secure value to test against.
|
void |
IfAuthType.setValue(java.lang.String authType)
Sets the auth-type value to match against.
|
void |
IfMethod.setValue(java.lang.String value)
Sets the HTTP method value to test.
|
void |
HttpProxy.setWarmupTime(Period warmupTime) |
| Modifier and Type | Class and Description |
|---|---|
class |
Management
Configuration for management.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ServerConfig
ServletContainer configration from the
|
class |
ServletContainerConfig
Configuration for the
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServletContainerConfig.add(DispatchRule rewrite) |
void |
ServletContainerConfig.addEarDefault(EarConfig earConfig)
Adds an EarDefault
|
void |
ServletContainerConfig.addHost(HostConfig host)
Adds the host.
|
void |
ServletContainerConfig.addHostDefault(HostConfig hostConfig)
Adds a HostDefault.
|
void |
ServletContainerConfig.addHostDeploy(HostExpandDeployGenerator deploy)
Adds a HostDeploy.
|
void |
ServletContainerConfig.addJavaExe(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addJvmArg(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addJvmArgLine(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addJvmClasspath(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogArg(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogJvmArg(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogLog(ConfigProgram args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogPassword(java.lang.String args)
Arguments on boot
|
void |
ServletContainerConfig.addWatchdogPort(int port)
Arguments on boot
|
void |
ServletContainerConfig.addWebAppDefault(WebAppConfig webAppConfig)
Adds a WebAppDefault.
|
AbstractProxyCache |
ServletContainerConfig.createCache()
backward compatibility for proxy cache
|
HostExpandDeployGenerator |
ServletContainerConfig.createHostDeploy()
Adds a HostDeploy.
|
java.lang.Object |
ServletContainerConfig.createJdbcStore() |
Management |
ServletContainerConfig.createManagement() |
PersistentStoreConfig |
ServletContainerConfig.createPersistentStore()
Creates a persistent store instance.
|
AbstractProxyCache |
ServletContainerConfig.createProxyCache()
Creates the proxy cache.
|
RewriteDispatch |
ServletContainerConfig.createRewriteDispatch()
Adds rewrite-dispatch.
|
void |
ServletContainerConfig.setAccessLog(AccessLog accessLog)
Sets the access log.
|
void |
ServletContainerConfig.setAccessLogBufferSize(Bytes bufferSize)
Sets the access log.
|
void |
ServletContainerConfig.setAlternateSessionUrlPrefix(java.lang.String urlPrefix)
Sets the alternate session url prefix.
|
void |
ServletContainerConfig.setConnectionErrorPage(java.lang.String errorPage)
Sets the connection error page.
|
void |
ServletContainerConfig.setDevelopmentModeErrorPage(boolean isEnable)
Development mode error pages.
|
void |
ServletContainerConfig.setDynamicServerEnable(boolean isEnable) |
void |
ServletContainerConfig.setErrorPageServerId(boolean isEnable)
Development mode error pages.
|
void |
ServletContainerConfig.setHeaderCountMax(int max)
Sets the header-count-max
|
void |
ServletContainerConfig.setHeaderSizeMax(int max)
Sets the header-size-max
|
void |
ServletContainerConfig.setIgnoreClientDisconnect(boolean isIgnore) |
void |
ServletContainerConfig.setInvocationCacheSize(int count) |
void |
ServletContainerConfig.setMaxUriLength(int max)
Sets the url-length-max
|
void |
ServletContainerConfig.setMemoryFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
ServerConfig.setMemoryFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
ServletContainerConfig.setPermGenFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
ServerConfig.setPermGenFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
ServletContainerConfig.setRedeployMode(java.lang.String redeployMode)
Sets the redeploy mode
|
void |
ServletContainerConfig.setRootDir(Path path)
Sets the root directory.
|
void |
ServletContainerConfig.setRootDirectory(Path path)
Sets the root directory.
|
void |
ServletContainerConfig.setSendfileEnable(boolean isEnable) |
void |
ServerConfig.setSendfileEnable(boolean isEnable) |
void |
ServletContainerConfig.setSendfileMinLength(Bytes bytes) |
void |
ServerConfig.setSendfileMinLength(Bytes bytes) |
void |
ServletContainerConfig.setServerHeader(java.lang.String serverHeader)
Sets the server header.
|
void |
ServletContainerConfig.setSessionCookie(java.lang.String sessionCookie)
Sets the session cookie
|
void |
ServletContainerConfig.setSessionUrlPrefix(java.lang.String urlPrefix)
Sets the session url prefix.
|
void |
ServletContainerConfig.setShutdownWaitMax(Period waitTime)
Sets the max wait time for shutdown.
|
void |
ServerConfig.setShutdownWaitMax(Period waitTime)
Sets the max wait time for shutdown.
|
void |
ServletContainerConfig.setSSLSessionCookie(java.lang.String cookie)
Sets the ssl session cookie
|
void |
ServletContainerConfig.setStage(java.lang.String stage)
Sets the stage id
|
void |
ServletContainerConfig.setSystemClassLoader(java.lang.String loader)
The Resin system classloader
|
void |
ServletContainerConfig.setThreadExecutorTaskMax(int max)
Sets the maximum executor (background) thread.
|
void |
ServerConfig.setThreadExecutorTaskMax(int max)
Sets the maximum executor (background) thread.
|
void |
ServletContainerConfig.setThreadIdleMax(int max)
Sets the maximum number of idle threads in the thread pool.
|
void |
ServletContainerConfig.setThreadIdleMin(int min)
Sets the minimum number of idle threads in the thread pool.
|
void |
ServletContainerConfig.setThreadIdleTimeout(Period timeout) |
void |
ServletContainerConfig.setThreadMax(int max)
Sets the maximum thread-based keepalive
|
void |
ServerConfig.setThreadMax(int max)
Sets the maximum thread-based keepalive
|
void |
ServletContainerConfig.setUrlCharacterEncoding(java.lang.String encoding)
Sets URL encoding.
|
void |
ServletContainerConfig.setUrlLengthMax(int max)
Sets the url-length-max
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServletConfigImpl.setBean(Bean<?> bean)
Set the bean
|
void |
ServletConfigImpl.setServletClass(java.lang.String servletClassName)
Sets the servlet class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheConfig.setModifiedExpireTimeout(long expireTimeout)
The maximum valid time for an item.
|
void |
CacheConfig.setModifiedExpireTimeoutWindow(long expireTimeoutWindow)
Provides the opportunity to control the expire check window,
i.e.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Host.addEarDefault(EarConfig config) |
void |
Host.addEarDeploy(EarDeployGenerator earDeploy)
Adds the ear-expansion
|
void |
Host.addErrorPage(ErrorPage errorPage) |
void |
Host.addHostAliasRegexp(java.lang.String name)
Adds an alias.
|
void |
Host.addWarDeploy(WebAppExpandDeployGenerator webAppDeploy)
Sets the war-expansion
|
void |
Host.addWebApp(WebAppConfig config) |
void |
Host.addWebAppDefault(WebAppConfig config) |
EarDeployGenerator |
Host.createEarDeploy()
Sets the ear-expansion
|
WebAppExpandDeployGenerator |
Host.createWarDeploy()
Sets the war-expansion
|
WebAppExpandDeployGenerator |
Host.createWebAppDeploy()
Sets the war-expansion
|
void |
Host.setAccessLog(AccessLog log) |
void |
Host.setHostName(java.lang.String name)
Sets the canonical host name.
|
void |
HostConfig.setId(RawString id)
Sets the id.
|
void |
Host.setWarDir(Path warDir)
Sets the war-dir for backwards compatibility.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AccessLog.addExclude(java.util.regex.Pattern pattern)
Adds an exclusion pattern.
|
void |
AccessLog.setArchiveFormat(java.lang.String format)
Sets the archive name format
|
void |
AccessLog.setAutoFlush(boolean isAutoFlush)
Sets the auto-flush attribute.
|
void |
AccessLog.setBufferSize(Bytes bytes)
Sets the log buffer size.
|
void |
AccessLog.setPathFormat(java.lang.String pathFormat)
Sets the formatted path.
|
void |
AccessLog.setRolloverCheckTime(Period period)
Sets how often the log rollover will be checked.
|
void |
AccessLog.setRolloverCount(int count)
Sets the maximum number of rolled logs.
|
void |
AccessLog.setRolloverCron(CronType cron)
Sets the log rollover cron
|
void |
AccessLog.setRolloverPeriod(Period period)
Sets the log rollover period, rounded up to the nearest hour.
|
void |
AccessLog.setRolloverSize(Bytes bytes)
Sets the log rollover size, rounded up to the megabyte.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BootResinConfig.addCluster(BootClusterProxy clusterProxy) |
void |
BootResinConfig.addClusterDefault(ContainerProgram program)
Adds a
|
void |
AbstractResinConfig.addLog(LogConfig log)
Overrides standard
|
void |
AbstractResinConfig.addLogger(LoggerConfig logger)
Overrides standard
|
void |
AbstractResinConfig.addLogHandler(LogHandlerConfig logHandler)
Overrides standard
|
void |
BootClusterConfig.addPod(BootPodConfig pod) |
void |
BootClusterConfig.addServer(BootServerConfig server) |
void |
BootPodConfig.addServer(BootServerConfig server) |
void |
BootClusterConfig.addServerDefault(ContainerProgram program)
Adds a
|
void |
BootPodConfig.addServerDefault(ContainerProgram program)
Adds a
|
void |
AbstractResinConfig.addStdoutLog(StdoutLog log)
Overrides standard
|
LogConfig |
AbstractResinConfig.createLog() |
LoggerConfig |
AbstractResinConfig.createLogger() |
LogHandlerConfig |
AbstractResinConfig.createLogHandler()
Overrides standard
|
BootPodConfig |
BootClusterConfig.createPod() |
com.caucho.server.resin.ResinConfig.SecurityManagerConfig |
ResinConfig.createSecurityManager() |
BootServerConfig |
BootClusterConfig.createServer() |
BootServerConfig |
BootPodConfig.createServer() |
StdoutLog |
AbstractResinConfig.createStdoutLog() |
ThreadPoolConfig |
ResinConfig.createThreadPool()
Configures the thread pool
|
boolean |
BootServerConfig.isAllowExternalAddress() |
boolean |
BootServerConfig.isExternalAddress() |
boolean |
BootServerConfig.isRequireExplicitId() |
void |
BootServerConfig.setAddress(java.lang.String address) |
void |
BootServerMultiConfig.setAddressList(java.lang.String addresses) |
void |
ResinConfig.setAdminPath(Path path)
Deprecated.
|
void |
BootServerConfig.setAllowNonReservedIp(boolean isExternal) |
void |
BootServerMultiConfig.setClusterPort(ConfigProgram program) |
void |
ResinConfig.setClusterSystemKey(java.lang.String key)
Sets the resin system key
|
void |
BootResinConfig.setClusterSystemKey(java.lang.String key) |
void |
ResinConfig.setElasticDns(boolean isElasticServer) |
void |
ResinConfig.setElasticServer(boolean isElasticServer)
Sets the shutdown time
|
void |
ResinConfig.setEnvironmentSystemProperties(boolean isEnable)
Set true if the server should enable environment-based
system properties.
|
void |
BootServerConfig.setExternalAddress(boolean isExternal) |
void |
ResinConfig.setGlobalSystemProperties(boolean isGlobal)
Set true if system properties are global.
|
void |
ResinConfig.setGroupName(java.lang.String groupName)
Sets the group name for setuid.
|
void |
ResinConfig.setHomeCluster(java.lang.String homeCluster) |
void |
ResinConfig.setHomeServer(java.lang.String homeServer) |
void |
BootServerConfig.setId(java.lang.String id)
Sets the cluster's id
|
void |
BootClusterProxy.setId(java.lang.String id)
Sets the cluster's id
|
void |
BootClusterConfig.setId(java.lang.String id)
Sets the cluster's id
|
void |
BootPodConfig.setId(java.lang.String id)
Sets the pod's id
|
void |
BootServerMultiConfig.setIdPrefix(java.lang.String id)
Sets the cluster's id
|
void |
ResinConfig.setIgnoreLock(boolean isIgnore) |
void |
ResinConfig.setJoinCluster(java.lang.String joinCluster) |
void |
ResinConfig.setMinFreeMemory(Bytes minFreeMemory)
Sets the minimum free memory allowed.
|
void |
BootServerConfig.setPort(int port) |
void |
BootServerMultiConfig.setPort(int port) |
void |
BootServerConfig.setRequireExplicitId(boolean isRequire) |
void |
ResinConfig.setResinDataDirectory(Path path)
Deprecated.
|
void |
ResinConfig.setResinSystemAuthKey(java.lang.String key)
Obsolete version of ClusterSystemKey
|
void |
BootResinConfig.setResinSystemAuthKey(java.lang.String key)
Obsolete
|
void |
ResinConfig.setRootDirectory(Path root) |
void |
ResinConfig.setUserName(java.lang.String userName)
Sets the user name for setuid.
|
void |
ResinConfig.setWatchdogManager(ConfigProgram program) |
| Modifier and Type | Method and Description |
|---|---|
SessionCookieConfig |
SessionManager.createCookieConfig() |
| Modifier and Type | Class and Description |
|---|---|
class |
ListenerConfig<T>
Configuration for the listener
|
class |
UnknownWebApp
Resin's webApp implementation.
|
class |
WebApp
Resin's webApp implementation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebApp.add(AbstractAccessLog log)
Allow custom access log
|
void |
WebApp.addContextParam(InitParam initParam)
Sets the context param
|
void |
WebApp.addErrorPage(ErrorPage errorPage)
Adds an error page
|
void |
WebApp.addFilter(FilterConfigImpl config)
Adds a filter configuration.
|
void |
WebApp.addFilterMapping(FilterMapping filterMapping)
Adds a filter-mapping configuration.
|
void |
ServletContextImpl.addListener(ListenerConfig config) |
void |
WebApp.addListener(ListenerConfig listener) |
void |
WebApp.addMimeMapping(MimeMapping mimeMapping)
Adds a mime-mapping
|
void |
Ordering.addName(java.lang.String name) |
void |
Ordering.addOthers(Ordering others) |
void |
WebApp.addServlet(ServletConfigImpl config)
Adds a servlet configuration.
|
void |
WebApp.addServletMapping(ServletMapping servletMapping)
Adds a servlet-mapping configuration.
|
void |
WebApp.addServletRegexp(ServletRegexp servletRegexp)
Adds a servlet-regexp configuration.
|
void |
WebApp.addSessionConfig(SessionManager manager)
Adds the session manager.
|
void |
WebApp.addTaglib(JspTaglib taglib)
taglib configuration
|
void |
WebApp.addWebApp(WebAppConfig config)
Adds a sub web-app
|
void |
WebApp.addWebAppDefault(WebAppConfig config)
Adds a web-app default
|
void |
WebApp.addWebAppDeploy(WebAppExpandDeployGenerator deploy)
Adds a war generator
|
void |
WebApp.addWelcomeFileList(WelcomeFileList list)
Adds a welcome file list to the webApp.
|
Ordering |
Ordering.createAfter() |
Ordering |
Ordering.createBefore() |
JspPropertyGroup |
WebApp.createJsp()
jsp configuration
|
LocaleEncodingMappingList |
WebApp.createLocaleEncodingMappingList()
Configures the locale encoding.
|
MultipartForm |
WebApp.createMultipartForm()
Multipart form config.
|
Ordering |
WebApp.createOrdering() |
boolean |
WebApp.isAllowForwardAfterFlush() |
void |
WebApp.setAccessLog(AbstractAccessLog log)
Sets the access log.
|
void |
WebApp.setActiveWaitErrorPage(java.lang.String location)
Sets the error page waiting for a restart
|
void |
WebApp.setActiveWaitTime(Period wait)
Sets the delay time waiting for a restart
|
void |
WebApp.setAllowServletEL(boolean allow)
Sets the servlet init-param EL enabling.
|
void |
WebApp.setCookieHttpOnly(boolean isHttpOnly)
Sets the cookie-http-only
|
void |
WebApp.setCookieSameSite(java.lang.String value)
Sets the cookie-http-only
|
void |
WebApp.setDescription(java.lang.String description)
A user description of the web-app
|
void |
WebApp.setDisableCrossContext(boolean isDisable)
If true, disables getContext().
|
void |
WebApp.setDispatchWrapsFilters(boolean wrap)
Set true if includes wrap filters.
|
void |
WebApp.setDistributable(boolean isDistributable) |
void |
WebApp.setFormParameterMax(int max)
Sets the maximum number of form parameters
|
void |
WebApp.setIcon(Icon icon)
Sets the icon
|
void |
WebApp.setIdleTime(Period idle)
Sets the delay time waiting for requests to end.
|
void |
WebApp.setLazyServletValidate(boolean isLazy)
Lazy servlet validation.
|
void |
WebAppFragmentConfig.setMetadataComplete(boolean metadataComplete) |
void |
WebAppFragmentConfig.setMetaDataComplete(boolean metadataComplete) |
void |
WebAppFragmentConfig.setName(WebAppFragmentConfig.NameConfig nameConfig) |
void |
WebApp.setRedeployMode(DeployMode mode)
Sets the redeploy-mode of the controller
|
void |
WebApp.setRootDirectory(Path appDir)
Sets the root directory (app-dir).
|
void |
WebApp.setSecure(boolean isSecure)
Sets the secure requirement.
|
void |
WebApp.setShutdownWaitMax(Period wait)
Sets the delay time waiting for requests to end.
|
void |
WebApp.setStatisticsEnable(boolean isEnable)
Enables detailed statistics
|
void |
WebApp.setStrictMapping(boolean isStrict)
Set true if strict mapping.
|
void |
WebApp.setVersion(java.lang.String version)
Sets the servlet version.
|