java.lang.Object
io.helidon.common.socket.PlainSocket
io.helidon.common.socket.TlsSocket
- All Implemented Interfaces:
- HelidonSocket,- SocketContext,- Supplier<byte[]>
TLS socket.
- 
Method SummaryModifier and TypeMethodDescriptionstatic TlsSocketCreate a client TLS socket.booleanisSecure()Whether the request is secure.Local peer information.protocol()Protocol that was negotiated.booleanWhether a protocol was negotiated by the socket (such as ALPN when using TLS).Remote peer information.static TlsSocketCreate a server TLS socket.Methods inherited from class io.helidon.common.socket.PlainSocketchildSocketId, client, close, get, idle, isConnected, read, server, socketId, writeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.common.socket.SocketContextlog, log
- 
Method Details- 
serverCreate a server TLS socket.- Parameters:
- delegate- underlying socket
- channelId- listener channel id
- serverChannelId- connection channel id
- Returns:
- a new TLS socket
 
- 
clientCreate a client TLS socket.- Parameters:
- delegate- underlying socket
- channelId- channel id
- Returns:
- a new TLS socket
 
- 
remotePeerDescription copied from interface:SocketContextRemote peer information.- Specified by:
- remotePeerin interface- SocketContext
- Overrides:
- remotePeerin class- PlainSocket
- Returns:
- peer info
 
- 
localPeerDescription copied from interface:SocketContextLocal peer information.- Specified by:
- localPeerin interface- SocketContext
- Overrides:
- localPeerin class- PlainSocket
- Returns:
- peer info
 
- 
isSecurepublic boolean isSecure()Description copied from interface:SocketContextWhether the request is secure.- Specified by:
- isSecurein interface- SocketContext
- Overrides:
- isSecurein class- PlainSocket
- Returns:
- whether secure
 
- 
protocolNegotiatedpublic boolean protocolNegotiated()Description copied from interface:HelidonSocketWhether a protocol was negotiated by the socket (such as ALPN when using TLS).- Returns:
- whether a protocol was negotiated
 
- 
protocolDescription copied from interface:HelidonSocketProtocol that was negotiated.- Returns:
- protocol name
 
 
-