Package com.sun.enterprise.web
Class WebConnector
- java.lang.Object
-
- org.apache.catalina.connector.Connector
-
- com.sun.enterprise.web.connector.coyote.PECoyoteConnector
-
- com.sun.enterprise.web.WebConnector
-
public class WebConnector extends PECoyoteConnector
A CoyoteConnector subclass which "wraps around" an existing Grizzly SelectorThread that is being started and stopped outside of the lifecycle of this CoyoteConnector subclass (the SelectorThread is started and stopped as part of the GrizzlyAdapter lifecycle). The only purpose of this WebConnector is to start and stop its associated MapperListener, which populates the Catalina Mapper that is used by the CoyoteAdapter which gets registered with the GrizzlyAdapter for web context endpoints.- Author:
- jluehe
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.web.connector.coyote.PECoyoteConnector
_logger, _rb, grizzlyMonitor, mapperListener, maxAcceptWorkerThreads, maxReadWorkerThreads, minAcceptQueueLength, minProcessorQueueLength, minReadQueueLength, processorWorkerThreadsTimeout, recycleObjects, ssBackLog, useDirectByteBuffer
-
Fields inherited from class org.apache.catalina.connector.Connector
authPassthroughEnabled, container, domain, initialized, lifecycle, mapper, maxSavePostSize, minProcessors, oname, proxyHandler
-
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENT
-
-
Constructor Summary
Constructors Constructor Description WebConnector(WebContainer webContainer)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize()
Initialize this connector.-
Methods inherited from class com.sun.enterprise.web.connector.coyote.PECoyoteConnector
configHttpProperties, configure, configureFileCache, configureHttpListenerProperty, configureJKProperties, configureThreadPool, createRequest, createResponse, getCrlFile, getKeepAliveThreadCount, getKeepAliveTimeoutInSeconds, getKeystoreType, getLargeFileCacheEnabled, getMapperListener, getMaxAcceptWorkerThreads, getMaxCacheEntries, getMaxEntrySize, getMaxLargeCacheSize, getMaxReadWorkerThreads, getMaxSmallCacheSize, getMinAcceptQueueLength, getMinEntrySize, getMinProcessorQueueLength, getMinReadQueueLength, getProcessorWorkerThreadsTimeout, getQueueSizeInBytes, getRecycleObjects, getSecondsMaxAge, getSelectorReadThreadsCount, getSocketServerBacklog, getTrustAlgorithm, getTrustMaxCertLength, getTruststore, getTruststoreType, getUseDirectByteBuffer, getWebAppRootPath, isFileCacheEnabled, requestEndEvent, requestStartEvent, setCrlFile, setFileCacheEnabled, setKeepAliveThreadCount, setKeepAliveTimeoutInSeconds, setKeystoreType, setLargeFileCacheEnabled, setMaxAcceptWorkerThreads, setMaxCacheEntries, setMaxEntrySize, setMaxLargeCacheSize, setMaxReadWorkerThreads, setMaxSmallCacheSize, setMinAcceptQueueLength, setMinEntrySize, setMinProcessorQueueLength, setMinReadQueueLength, setProcessorWorkerThreadsTimeout, setProxyHandler, setQueueSizeInBytes, setRecycleObjects, setSecondsMaxAge, setSelectorReadThreadsCount, setSocketServerBacklog, setTrustAlgorithm, setTrustMaxCertLength, setTruststore, setTruststoreType, setUseDirectByteBuffer, setWebAppRootPath, start, stop
-
Methods inherited from class org.apache.catalina.connector.Connector
addLifecycleListener, createObjectName, destroy, findLifecycleListeners, getAcceptCount, getAddress, getAllowTrace, getAuthPassthroughEnabled, getBlocking, getBufferSize, getCertificates, getCiphers, getClientAuth, getCompression, getConnectionLinger, getConnectionTimeout, getConnectionUploadTimeout, getContainer, getController, getDebug, getDefaultHost, getDisableUploadTimeout, getDomain, getEnableLookups, getFactory, getHandler, getInfo, getInstanceName, getJvmRoute, getKeepAlive, getKeyAlias, getKeystoreFile, getKeystorePass, getMapper, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxPostSize, getMaxProcessors, getMaxSavePostSize, getMinProcessors, getName, getObjectName, getPort, getProperty, getProtocol, getProtocolHandler, getProtocolHandlerClassName, getProxyHandler, getProxyName, getProxyPort, getRedirectPort, getScheme, getSecure, getSelectorThreadImpl, getServerSocketTimeout, getService, getSsl3SessionTimeout, getSslProtocol, getSslProtocols, getSslSessionCacheSize, getSslSessionTimeout, getTcpNoDelay, getTomcatAuthentication, getURIEncoding, init, isAvailable, isEnabled, isServerHeader, isXframeOptions, isXpoweredBy, removeLifecycleListener, removeProperty, setAcceptCount, setAddress, setAllowTrace, setAuthPassthroughEnabled, setBlocking, setBufferSize, setCiphers, setClientAuth, setCompression, setConnectionLinger, setConnectionTimeout, setConnectionUploadTimeout, setContainer, setController, setDebug, setDefaultHost, setDisableUploadTimeout, setDomain, setEnabled, setEnableLookups, setFactory, setHandler, setInstanceName, setJvmRoute, setKeepAlive, setKeyAlias, setKeystoreFile, setKeystorePass, setMapper, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxPostSize, setMaxProcessors, setMaxSavePostSize, setMinProcessors, setName, setPort, setProperty, setProtocol, setProtocolHandler, setProtocolHandlerClassName, setProxyHandler, setProxyName, setProxyPort, setRedirectPort, setScheme, setSecure, setSelectorThreadImpl, setServerHeader, setServerSocketTimeout, setService, setSsl3SessionTimeout, setSslProtocol, setSslProtocols, setSslSessionCacheSize, setSslSessionTimeout, setTcpNoDelay, setTomcatAuthentication, setURIEncoding, setXframeOptions, setXpoweredBy
-
-
-
-
Constructor Detail
-
WebConnector
public WebConnector(WebContainer webContainer)
Constructor
-
-
Method Detail
-
initialize
public void initialize() throws LifecycleException
Description copied from class:PECoyoteConnector
Initialize this connector.- Specified by:
initialize
in interfaceConnector
- Overrides:
initialize
in classPECoyoteConnector
- Throws:
LifecycleException
- If this server was already initialized.
-
-