|
Apache Tomcat 7.0.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tomcat.util.net.AbstractEndpoint
public abstract class AbstractEndpoint
Nested Class Summary | |
---|---|
static interface |
AbstractEndpoint.Handler
Different types of socket states to react upon |
Field Summary | |
---|---|
static String |
CERTIFICATE_KEY
The Request attribute key for the client certificate chain. |
static String |
CIPHER_SUITE_KEY
The Request attribute key for the cipher suite. |
protected boolean |
initialized
Track the initialization state of the endpoint. |
protected boolean |
internalExecutor
Are we using an internal executor |
static String |
KEY_SIZE_KEY
The Request attribute key for the key size. |
protected boolean |
paused
Will be set to true whenever the endpoint is paused. |
protected boolean |
running
Running state of the endpoint. |
static String |
SESSION_ID_KEY
The Request attribute key for the session id. |
static String |
SESSION_MGR
The request attribute key for the session manager. |
protected static StringManager |
sm
|
protected SocketProperties |
socketProperties
Socket properties |
static String |
SSL_ATTR_ALGORITHM
|
static String |
SSL_ATTR_ALLOW_UNSAFE_RENEG
|
static String |
SSL_ATTR_CIPHERS
|
static String |
SSL_ATTR_CLIENT_AUTH
|
static String |
SSL_ATTR_CRL_FILE
|
static String |
SSL_ATTR_KEY_ALIAS
|
static String |
SSL_ATTR_KEY_PASS
|
static String |
SSL_ATTR_KEYSTORE_FILE
|
static String |
SSL_ATTR_KEYSTORE_PASS
|
static String |
SSL_ATTR_KEYSTORE_PROVIDER
|
static String |
SSL_ATTR_KEYSTORE_TYPE
|
static String |
SSL_ATTR_SESSION_CACHE_SIZE
|
static String |
SSL_ATTR_SESSION_TIMEOUT
|
static String |
SSL_ATTR_SSL_PROTOCOL
|
static String |
SSL_ATTR_TRUST_MAX_CERT_LENGTH
|
static String |
SSL_ATTR_TRUSTSTORE_ALGORITHM
|
static String |
SSL_ATTR_TRUSTSTORE_FILE
|
static String |
SSL_ATTR_TRUSTSTORE_PASS
|
static String |
SSL_ATTR_TRUSTSTORE_PROVIDER
|
static String |
SSL_ATTR_TRUSTSTORE_TYPE
|
protected int |
threadPriority
Priority of the worker threads. |
Constructor Summary | |
---|---|
AbstractEndpoint()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final StringManager sm
public static final String CIPHER_SUITE_KEY
public static final String KEY_SIZE_KEY
public static final String CERTIFICATE_KEY
public static final String SESSION_ID_KEY
public static final String SESSION_MGR
public static final String SSL_ATTR_ALGORITHM
public static final String SSL_ATTR_CLIENT_AUTH
public static final String SSL_ATTR_KEYSTORE_FILE
public static final String SSL_ATTR_KEYSTORE_PASS
public static final String SSL_ATTR_KEYSTORE_TYPE
public static final String SSL_ATTR_KEYSTORE_PROVIDER
public static final String SSL_ATTR_SSL_PROTOCOL
public static final String SSL_ATTR_CIPHERS
public static final String SSL_ATTR_KEY_ALIAS
public static final String SSL_ATTR_KEY_PASS
public static final String SSL_ATTR_TRUSTSTORE_FILE
public static final String SSL_ATTR_TRUSTSTORE_PASS
public static final String SSL_ATTR_TRUSTSTORE_TYPE
public static final String SSL_ATTR_TRUSTSTORE_PROVIDER
public static final String SSL_ATTR_TRUSTSTORE_ALGORITHM
public static final String SSL_ATTR_CRL_FILE
public static final String SSL_ATTR_TRUST_MAX_CERT_LENGTH
public static final String SSL_ATTR_SESSION_CACHE_SIZE
public static final String SSL_ATTR_SESSION_TIMEOUT
public static final String SSL_ATTR_ALLOW_UNSAFE_RENEG
protected volatile boolean running
protected volatile boolean paused
protected boolean initialized
protected volatile boolean internalExecutor
protected SocketProperties socketProperties
protected int threadPriority
Constructor Detail |
---|
public AbstractEndpoint()
Method Detail |
---|
public SocketProperties getSocketProperties()
public void setMaxConnections(int maxCon)
public int getMaxConnections()
public void setExecutor(Executor executor)
public Executor getExecutor()
public int getPort()
public void setPort(int port)
public InetAddress getAddress()
public void setAddress(InetAddress address)
public void setBacklog(int backlog)
public int getBacklog()
public void setKeepAliveTimeout(int keepAliveTimeout)
public int getKeepAliveTimeout()
public boolean getTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
public int getSoLinger()
public void setSoLinger(int soLinger)
public int getSoTimeout()
public void setSoTimeout(int soTimeout)
public boolean isSSLEnabled()
public void setSSLEnabled(boolean SSLEnabled)
public int getMinSpareThreads()
public void setMinSpareThreads(int minSpareThreads)
public void setMaxThreads(int maxThreads)
public int getMaxThreads()
public int getMaxKeepAliveRequests()
public void setMaxKeepAliveRequests(int maxKeepAliveRequests)
public void setName(String name)
public String getName()
public void setDaemon(boolean b)
public boolean getDaemon()
public void setThreadPriority(int threadPriority)
public int getThreadPriority()
protected abstract boolean getDeferAccept()
public boolean setProperty(String name, String value)
public int getCurrentThreadCount()
public int getCurrentThreadsBusy()
public boolean isRunning()
public boolean isPaused()
public void createExecutor()
public void shutdownExecutor()
protected void unlockAccept()
public abstract void init() throws Exception
Exception
public abstract void start() throws Exception
Exception
public void pause()
public void resume()
public abstract void stop() throws Exception
Exception
public abstract void destroy() throws Exception
Exception
public String adjustRelativePath(String path, String relativeTo)
protected abstract Log getLog()
public abstract boolean getUseSendfile()
public String getAlgorithm()
public void setAlgorithm(String s)
public String getClientAuth()
public void setClientAuth(String s)
public String getKeystoreFile()
public void setKeystoreFile(String s)
public String getKeystorePass()
public void setKeystorePass(String s)
public String getKeystoreType()
public void setKeystoreType(String s)
public String getKeystoreProvider()
public void setKeystoreProvider(String s)
public String getSslProtocol()
public void setSslProtocol(String s)
public String[] getCiphersArray()
public String getCiphers()
public void setCiphers(String s)
public String getKeyAlias()
public void setKeyAlias(String s)
public String getKeyPass()
public void setKeyPass(String s)
public String getTruststoreFile()
public void setTruststoreFile(String s)
public String getTruststorePass()
public void setTruststorePass(String truststorePass)
public String getTruststoreType()
public void setTruststoreType(String truststoreType)
public String getTruststoreProvider()
public void setTruststoreProvider(String truststoreProvider)
public String getTruststoreAlgorithm()
public void setTruststoreAlgorithm(String truststoreAlgorithm)
public String getCrlFile()
public void setCrlFile(String crlFile)
public String getTrustMaxCertLength()
public void setTrustMaxCertLength(String trustMaxCertLength)
public String getSessionCacheSize()
public void setSessionCacheSize(String s)
public String getSessionTimeout()
public void setSessionTimeout(String s)
public String getAllowUnsafeLegacyRenegotiation()
public void setAllowUnsafeLegacyRenegotiation(String s)
public String[] getSslEnabledProtocolsArray()
public void setSslEnabledProtocols(String s)
|
Apache Tomcat 7.0.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |