|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.io.nio.SslConnection
public class SslConnection
SSL Connection.
An AysyncConnection that acts as an interceptor between and EndPoint and another
Connection, that implements TLS encryption using an SSLEngine.
The connector uses an AsyncEndPoint (like SelectChannelEndPoint) as
it's source/sink of encrypted data. It then provides getSslEndPoint() to
expose a source/sink of unencrypted data to another connection (eg HttpConnection).
| 嵌套类摘要 | |
|---|---|
class |
SslConnection.SslEndPoint
|
| 字段摘要 |
|---|
| 从类 org.eclipse.jetty.io.AbstractConnection 继承的字段 |
|---|
_endp |
| 构造方法摘要 | |
|---|---|
SslConnection(SSLEngine engine,
EndPoint endp)
|
|
SslConnection(SSLEngine engine,
EndPoint endp,
long timeStamp)
|
|
| 方法摘要 | |
|---|---|
AsyncEndPoint |
getSslEndPoint()
|
Connection |
handle()
Handle the connection. |
boolean |
isAllowRenegotiate()
|
boolean |
isIdle()
|
boolean |
isSuspended()
The semantic of this method is to return true to indicate interest in further reads, or false otherwise, but it is misnamed and should be really called isReadInterested(). |
protected SslConnection.SslEndPoint |
newSslEndPoint()
|
void |
onClose()
Called after the connection is closed |
void |
onIdleExpired(long idleForMs)
Called when the connection idle timeout expires |
void |
onInputShutdown()
|
void |
setAllowRenegotiate(boolean allowRenegotiate)
Set if SSL re-negotiation is allowed. |
String |
toString()
|
| 从类 org.eclipse.jetty.io.AbstractConnection 继承的方法 |
|---|
getEndPoint, getTimeStamp |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 从接口 org.eclipse.jetty.io.Connection 继承的方法 |
|---|
getTimeStamp |
| 构造方法详细信息 |
|---|
public SslConnection(SSLEngine engine,
EndPoint endp)
public SslConnection(SSLEngine engine,
EndPoint endp,
long timeStamp)
| 方法详细信息 |
|---|
protected SslConnection.SslEndPoint newSslEndPoint()
public boolean isAllowRenegotiate()
public void setAllowRenegotiate(boolean allowRenegotiate)
allowRenegotiate - true if re-negotiation is allowed (default false)
public Connection handle()
throws IOException
Connection 复制的描述
Connection 中的 handleIOException - if the handling of I/O operations failpublic boolean isIdle()
Connection 中的 isIdleConnection.onIdleExpired(long)public boolean isSuspended()
Connection 复制的描述The semantic of this method is to return true to indicate interest in further reads,
or false otherwise, but it is misnamed and should be really called isReadInterested().
Connection 中的 isSuspendedpublic void onClose()
Connection 复制的描述
Connection 中的 onClosepublic void onIdleExpired(long idleForMs)
Connection 复制的描述
Connection 中的 onIdleExpiredAbstractConnection 中的 onIdleExpiredidleForMs - how long the connection has been idleConnection.isIdle()
public void onInputShutdown()
throws IOException
AsyncConnection 中的 onInputShutdownIOExceptionpublic AsyncEndPoint getSslEndPoint()
public String toString()
AbstractConnection 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||