|
Apache Tomcat 7.0.6 | ||||||||
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 | |
---|---|
protected static class |
AbstractEndpoint.BindState
|
static interface |
AbstractEndpoint.Handler
|
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 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 volatile boolean internalExecutor
protected SocketProperties socketProperties
protected int threadPriority
protected HashMap<String,Object> attributes
ProtocolHandler
being aware of the properties
available on those sub-components. One example of such a sub-component is
the ServerSocketFactory
.
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 boolean getBindOnInit()
public void setBindOnInit(boolean b)
public int getKeepAliveTimeout()
public void setKeepAliveTimeout(int keepAliveTimeout)
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 void setAttribute(String name, Object value)
ProtocolHandler
needs to be
made available to sub-components. The specific setter will call this
method to populate the attributes.
public Object getAttribute(String key)
public boolean setProperty(String name, String value)
public String getProperty(String name)
public int getCurrentThreadCount()
public int getCurrentThreadsBusy()
public boolean isRunning()
public boolean isPaused()
public void createExecutor()
public void shutdownExecutor()
protected void unlockAccept()
public abstract void bind() throws Exception
Exception
public abstract void unbind() throws Exception
Exception
public abstract void startInternal() throws Exception
Exception
public abstract void stopInternal() throws Exception
Exception
public final void init() throws Exception
Exception
public final void start() throws Exception
Exception
public void pause()
public void resume()
public final void stop() throws Exception
Exception
public final void destroy() throws Exception
Exception
public String adjustRelativePath(String path, String relativeTo)
protected abstract Log getLog()
public abstract boolean getUseSendfile()
protected CounterLatch initializeConnectionLatch()
protected void releaseConnectionLatch()
protected void awaitConnection() throws InterruptedException
InterruptedException
protected long countUpConnection()
protected long countDownConnection()
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.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |