public class ConnectionContext extends Object
ConnectionPostProcessor
Constructor and Description |
---|
ConnectionContext(Socket socket,
Address address,
boolean ssl,
SSLSession sslSession) |
Modifier and Type | Method and Description |
---|---|
Address |
getAddress()
The address (hostname and port) used for connecting.
|
Socket |
getSocket()
The network socket.
|
SSLSession |
getSslSession()
The
SSLSession for a TLS connection, null otherwise. |
boolean |
isSsl()
Whether this is a SSL/TLS connection.
|
public ConnectionContext(Socket socket, Address address, boolean ssl, SSLSession sslSession)
public Address getAddress()
public boolean isSsl()
public SSLSession getSslSession()
SSLSession
for a TLS connection, null
otherwise.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.