|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.AbstractConnector
org.eclipse.jetty.server.nio.AbstractNIOConnector
org.eclipse.jetty.server.nio.SelectChannelConnector
org.eclipse.jetty.server.ssl.SslSelectChannelConnector
public class SslSelectChannelConnector
SslSelectChannelConnector.
| 嵌套类摘要 |
|---|
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的嵌套类/接口 |
|---|
AbstractLifeCycle.AbstractLifeCycleListener |
| 从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口 |
|---|
LifeCycle.Listener |
| 字段摘要 |
|---|
| 从类 org.eclipse.jetty.server.nio.SelectChannelConnector 继承的字段 |
|---|
_acceptChannel |
| 从类 org.eclipse.jetty.server.AbstractConnector 继承的字段 |
|---|
_buffers, _lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime |
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的字段 |
|---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
| 从接口 org.eclipse.jetty.server.ssl.SslConnector 继承的字段 |
|---|
DEFAULT_KEYSTORE, DEFAULT_KEYSTORE_ALGORITHM, DEFAULT_TRUSTSTORE_ALGORITHM, KEYPASSWORD_PROPERTY, PASSWORD_PROPERTY |
| 构造方法摘要 | |
|---|---|
SslSelectChannelConnector()
|
|
SslSelectChannelConnector(SslContextFactory sslContextFactory)
Construct with explicit SslContextFactory. |
|
| 方法摘要 | |
|---|---|
protected SSLEngine |
createSSLEngine(SocketChannel channel)
|
void |
customize(EndPoint endpoint,
Request request)
Allow the Listener a chance to customise the request. before the server does its stuff. |
protected void |
doStart()
Start the managed lifecycle beans in the order they were added. |
protected void |
doStop()
Stop the joined lifecycle beans in the reverse order they were added. |
String |
getAlgorithm()
已过时。 |
String[] |
getExcludeCipherSuites()
已过时。 |
String[] |
getIncludeCipherSuites()
已过时。 |
String |
getKeystore()
已过时。 |
String |
getKeystoreType()
已过时。 |
boolean |
getNeedClientAuth()
已过时。 |
String |
getProtocol()
已过时。 |
String |
getProvider()
已过时。 |
String |
getSecureRandomAlgorithm()
已过时。 |
Buffers |
getSslBuffers()
|
SSLContext |
getSslContext()
已过时。 |
SslContextFactory |
getSslContextFactory()
|
String |
getSslKeyManagerFactoryAlgorithm()
已过时。 |
String |
getSslTrustManagerFactoryAlgorithm()
已过时。 |
String |
getTruststore()
已过时。 |
String |
getTruststoreType()
已过时。 |
boolean |
getWantClientAuth()
已过时。 |
boolean |
isAllowRenegotiate()
已过时。 |
boolean |
isConfidential(Request request)
By default, we're confidential, given we speak SSL. |
boolean |
isIntegral(Request request)
By default, we're integral, given we speak SSL. |
protected AsyncConnection |
newConnection(SocketChannel channel,
AsyncEndPoint endpoint)
|
protected AsyncConnection |
newPlainConnection(SocketChannel channel,
AsyncEndPoint endPoint)
|
protected SslConnection |
newSslConnection(AsyncEndPoint endpoint,
SSLEngine engine)
|
void |
setAlgorithm(String algorithm)
已过时。 |
void |
setAllowRenegotiate(boolean allowRenegotiate)
已过时。 |
void |
setExcludeCipherSuites(String[] cipherSuites)
已过时。 |
void |
setIncludeCipherSuites(String[] cipherSuites)
已过时。 |
void |
setKeyPassword(String password)
已过时。 |
void |
setKeystore(String keystore)
已过时。 |
void |
setKeystoreType(String keystoreType)
已过时。 |
void |
setNeedClientAuth(boolean needClientAuth)
已过时。 |
void |
setPassword(String password)
已过时。 |
void |
setProtocol(String protocol)
已过时。 |
void |
setProvider(String provider)
已过时。 |
void |
setSecureRandomAlgorithm(String algorithm)
已过时。 |
void |
setSslContext(SSLContext sslContext)
已过时。 |
void |
setSslKeyManagerFactoryAlgorithm(String algorithm)
已过时。 |
void |
setSslTrustManagerFactoryAlgorithm(String algorithm)
已过时。 |
void |
setTrustPassword(String password)
已过时。 |
void |
setTruststore(String truststore)
已过时。 |
void |
setTruststoreType(String truststoreType)
已过时。 |
void |
setWantClientAuth(boolean wantClientAuth)
已过时。 |
| 从类 org.eclipse.jetty.server.nio.SelectChannelConnector 继承的方法 |
|---|
accept, close, endPointClosed, getConnection, getLocalPort, getLowResourcesConnections, getLowResourcesMaxIdleTime, getSelectorManager, newEndPoint, open, persist, setLowResourcesConnections, setLowResourcesMaxIdleTime, setMaxIdleTime, setThreadPool |
| 从类 org.eclipse.jetty.server.nio.AbstractNIOConnector 继承的方法 |
|---|
getUseDirectBuffers, setUseDirectBuffers |
| 从类 org.eclipse.jetty.util.component.AggregateLifeCycle 继承的方法 |
|---|
addBean, addBean, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法 |
|---|
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 从接口 org.eclipse.jetty.util.component.LifeCycle 继承的方法 |
|---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| 从接口 org.eclipse.jetty.util.component.Dumpable 继承的方法 |
|---|
dump, dump |
| 构造方法详细信息 |
|---|
public SslSelectChannelConnector()
public SslSelectChannelConnector(SslContextFactory sslContextFactory)
AggregateLifeCycle.addBean(Object) so that
it's lifecycle may be managed with AggregateLifeCycle.
sslContextFactory - | 方法详细信息 |
|---|
public void customize(EndPoint endpoint,
Request request)
throws IOException
Connector 中的 customizeSelectChannelConnector 中的 customizeendpoint - The Socket the request arrived on. This should be a
SocketEndPoint wrapping a SSLSocket.request - HttpRequest to be customised.
IOException@Deprecated public boolean isAllowRenegotiate()
SslConnector 中的 isAllowRenegotiate@Deprecated public void setAllowRenegotiate(boolean allowRenegotiate)
SslConnector 中的 setAllowRenegotiateallowRenegotiate - true if re-negotiation is allowed (default false)@Deprecated public String[] getExcludeCipherSuites()
SslConnector 中的 getExcludeCipherSuitesSSLEngine.setEnabledCipherSuites(String[])SslConnector.getExcludeCipherSuites()@Deprecated public void setExcludeCipherSuites(String[] cipherSuites)
SslConnector 中的 setExcludeCipherSuitescipherSuites - The array of Ciphersuite names to exclude from
SSLEngine.setEnabledCipherSuites(String[])SslConnector.setExcludeCipherSuites(java.lang.String[])@Deprecated public String[] getIncludeCipherSuites()
SslConnector 中的 getIncludeCipherSuitesSSLEngine.setEnabledCipherSuites(String[])SslConnector.getExcludeCipherSuites()@Deprecated public void setIncludeCipherSuites(String[] cipherSuites)
SslConnector 中的 setIncludeCipherSuitescipherSuites - The array of Ciphersuite names to include in
SSLEngine.setEnabledCipherSuites(String[])SslConnector.setExcludeCipherSuites(java.lang.String[])@Deprecated public void setPassword(String password)
SslConnector 中的 setPasswordpassword - The password for the key storeSslConnector.setPassword(java.lang.String)@Deprecated public void setTrustPassword(String password)
SslConnector 中的 setTrustPasswordpassword - The password for the trust storeSslConnector.setTrustPassword(java.lang.String)@Deprecated public void setKeyPassword(String password)
SslConnector 中的 setKeyPasswordpassword - The password (if any) for the specific key within
the key storeSslConnector.setKeyPassword(java.lang.String)@Deprecated public String getAlgorithm()
@Deprecated public void setAlgorithm(String algorithm)
@Deprecated public String getProtocol()
SslConnector 中的 getProtocolSSLContext.getInstance(String, String)SslConnector.getProtocol()@Deprecated public void setProtocol(String protocol)
SslConnector 中的 setProtocolprotocol - The SSL protocol (default "TLS") passed to SSLContext.getInstance(String, String)SslConnector.setProtocol(java.lang.String)@Deprecated public void setKeystore(String keystore)
SslConnector 中的 setKeystorekeystore - The file or URL of the SSL Key store.SslConnector.setKeystore(java.lang.String)@Deprecated public String getKeystore()
SslConnector 中的 getKeystoreSslConnector.getKeystore()@Deprecated public String getKeystoreType()
SslConnector 中的 getKeystoreTypeSslConnector.getKeystoreType()@Deprecated public boolean getNeedClientAuth()
SslConnector 中的 getNeedClientAuthSslConnector.getNeedClientAuth()@Deprecated public boolean getWantClientAuth()
SslConnector 中的 getWantClientAuthSslConnector.getWantClientAuth()@Deprecated public void setNeedClientAuth(boolean needClientAuth)
SslConnector 中的 setNeedClientAuthneedClientAuth - True if SSL needs client authentication.SslConnector.setNeedClientAuth(boolean)@Deprecated public void setWantClientAuth(boolean wantClientAuth)
SslConnector 中的 setWantClientAuthwantClientAuth - True if SSL wants client authentication.SslConnector.setWantClientAuth(boolean)@Deprecated public void setKeystoreType(String keystoreType)
SslConnector 中的 setKeystoreTypekeystoreType - The type of the key store (default "JKS")SslConnector.setKeystoreType(java.lang.String)@Deprecated public String getProvider()
SslConnector 中的 getProviderSSLContext.getInstance(String, String)SslConnector.getProvider()@Deprecated public String getSecureRandomAlgorithm()
SslConnector 中的 getSecureRandomAlgorithmSecureRandom.getInstance(String) to obtain the SecureRandom
instance passed to SSLContext.init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], SecureRandom)SslConnector.getSecureRandomAlgorithm()@Deprecated public String getSslKeyManagerFactoryAlgorithm()
SslConnector 中的 getSslKeyManagerFactoryAlgorithmKeyManagerFactorySslConnector.getSslKeyManagerFactoryAlgorithm()@Deprecated public String getSslTrustManagerFactoryAlgorithm()
SslConnector 中的 getSslTrustManagerFactoryAlgorithmTrustManagerFactorySslConnector.getSslTrustManagerFactoryAlgorithm()@Deprecated public String getTruststore()
SslConnector 中的 getTruststoreSslConnector.getTruststore()@Deprecated public String getTruststoreType()
SslConnector 中的 getTruststoreTypeSslConnector.getTruststoreType()@Deprecated public void setProvider(String provider)
SslConnector 中的 setProviderprovider - The SSL provider name, which if set is passed to
SSLContext.getInstance(String, String)SslConnector.setProvider(java.lang.String)@Deprecated public void setSecureRandomAlgorithm(String algorithm)
SslConnector 中的 setSecureRandomAlgorithmalgorithm - The algorithm name, which if set is passed to
SecureRandom.getInstance(String) to obtain the SecureRandom
instance passed to SSLContext.init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], SecureRandom)SslConnector.setSecureRandomAlgorithm(java.lang.String)@Deprecated public void setSslKeyManagerFactoryAlgorithm(String algorithm)
SslConnector 中的 setSslKeyManagerFactoryAlgorithmalgorithm - The algorithm name (default "SunX509") used by
the KeyManagerFactorySslConnector.setSslKeyManagerFactoryAlgorithm(java.lang.String)@Deprecated public void setSslTrustManagerFactoryAlgorithm(String algorithm)
SslConnector 中的 setSslTrustManagerFactoryAlgorithmalgorithm - The algorithm name (default "SunX509") used by the TrustManagerFactorySslConnector.setSslTrustManagerFactoryAlgorithm(java.lang.String)@Deprecated public void setTruststore(String truststore)
SslConnector 中的 setTruststoretruststore - The file name or URL of the trust store locationSslConnector.setTruststore(java.lang.String)@Deprecated public void setTruststoreType(String truststoreType)
SslConnector 中的 setTruststoreTypetruststoreType - The type of the trust store (default "JKS")SslConnector.setTruststoreType(java.lang.String)@Deprecated public void setSslContext(SSLContext sslContext)
SslConnector 中的 setSslContextsslContext - Set a preconfigured SSLContextSslConnector.setSslContext(javax.net.ssl.SSLContext)@Deprecated public SSLContext getSslContext()
SslConnector 中的 getSslContextSslConnector.setSslContext(javax.net.ssl.SSLContext)public SslContextFactory getSslContextFactory()
SslConnector 中的 getSslContextFactorySslConnector.getSslContextFactory()public boolean isConfidential(Request request)
Connector 中的 isConfidentialAbstractConnector 中的 isConfidentialrequest - A request
public boolean isIntegral(Request request)
Connector 中的 isIntegralAbstractConnector 中的 isIntegralrequest - A request
protected AsyncConnection newConnection(SocketChannel channel,
AsyncEndPoint endpoint)
SelectChannelConnector 中的 newConnection
protected AsyncConnection newPlainConnection(SocketChannel channel,
AsyncEndPoint endPoint)
protected SslConnection newSslConnection(AsyncEndPoint endpoint,
SSLEngine engine)
protected SSLEngine createSSLEngine(SocketChannel channel)
throws IOException
channel - A channel which if passed is used as to extract remote
host and port for the purposes of SSL session caching
IOException - if the SSLEngine cannot be created
protected void doStart()
throws Exception
AggregateLifeCycle 复制的描述
SelectChannelConnector 中的 doStartExceptionSelectChannelConnector.doStart()
protected void doStop()
throws Exception
AggregateLifeCycle 复制的描述
AbstractConnector 中的 doStopExceptionAbstractConnector.doStop()public Buffers getSslBuffers()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||