Index
All Classes and Interfaces|All Packages|Serialized Form
A
- address() - Method in interface io.helidon.common.socket.PeerInfo
-
Socket address of the peer.
- addSocketOptions(Map<SocketOption<?>, ?>) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
This method keeps existing values, then puts all new values into the map.
B
- build() - Method in class io.helidon.common.socket.SocketOptions.Builder
- builder() - Static method in interface io.helidon.common.socket.SocketOptions
-
Create a new fluent API builder to customize configuration.
- builder(SocketOptions) - Static method in interface io.helidon.common.socket.SocketOptions
-
Create a new fluent API builder from an existing instance.
- BuilderBase() - Constructor for class io.helidon.common.socket.SocketOptions.BuilderBase
-
Protected to support extensibility.
- buildPrototype() - Method in class io.helidon.common.socket.SocketOptions.Builder
C
- childSocketId() - Method in class io.helidon.common.socket.PlainSocket
- childSocketId() - Method in interface io.helidon.common.socket.SocketContext
-
Child socket id.
- clearSocketReceiveBufferSize() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Clear existing value of this property.
- clearSocketSendBufferSize() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Clear existing value of this property.
- client(Socket, String) - Static method in class io.helidon.common.socket.PlainSocket
-
Create a new client socket.
- client(SSLSocket, String) - Static method in class io.helidon.common.socket.TlsSocket
-
Create a client TLS socket.
- close() - Method in interface io.helidon.common.socket.HelidonSocket
-
Close the underlying socket.
- close() - Method in class io.helidon.common.socket.PlainSocket
- close() - Method in class io.helidon.common.socket.SocketWriter
-
Close this writer.
- config() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
If this instance was configured, this would be the config instance used.
- config(Config) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Update builder from configuration (node of this type).
- configureSocket(Socket) - Method in interface io.helidon.common.socket.SocketOptions
-
Configure socket with defined socket options.
- configureSocket(Socket) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
-
Configure socket with defined socket options.
- connectTimeout() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket connect timeout.
- connectTimeout() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- connectTimeout() - Method in interface io.helidon.common.socket.SocketOptions
-
Socket connect timeout.
- connectTimeout(Duration) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket connect timeout.
- create() - Static method in interface io.helidon.common.socket.SocketOptions
-
Create a new instance with default values.
- create(Config) - Static method in interface io.helidon.common.socket.SocketOptions
-
Create a new instance from configuration.
- create(HelidonSocket) - Static method in class io.helidon.common.socket.SocketWriter
-
Create a new socket writer.
- create(ExecutorService, HelidonSocket, int) - Static method in class io.helidon.common.socket.SocketWriter
-
Create a new socket writer.
E
- equals(Object) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
F
- from(SocketOptions) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Update this builder from an existing prototype instance.
- from(SocketOptions.BuilderBase<?, ?>) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Update this builder from an existing prototype builder instance.
G
- get() - Method in class io.helidon.common.socket.PlainSocket
H
- hashCode() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- HelidonSocket - Interface in io.helidon.common.socket
-
Socket abstraction to allow usage of TLS or even non-socket transport.
- host() - Method in interface io.helidon.common.socket.PeerInfo
-
Host of the peer.
I
- idle() - Method in interface io.helidon.common.socket.HelidonSocket
-
Sets the socket to idle mode.
- idle() - Method in class io.helidon.common.socket.PlainSocket
- io.helidon.common.socket - module io.helidon.common.socket
-
Socket abstraction and data writing.
- io.helidon.common.socket - package io.helidon.common.socket
-
Socket abstraction and data writing.
- isConnected() - Method in interface io.helidon.common.socket.HelidonSocket
-
Check if socket is connected.
- isConnected() - Method in class io.helidon.common.socket.PlainSocket
- isSecure() - Method in class io.helidon.common.socket.PlainSocket
- isSecure() - Method in interface io.helidon.common.socket.SocketContext
-
Whether the request is secure.
- isSecure() - Method in class io.helidon.common.socket.TlsSocket
L
- localPeer() - Method in class io.helidon.common.socket.PlainSocket
- localPeer() - Method in interface io.helidon.common.socket.SocketContext
-
Local peer information.
- localPeer() - Method in class io.helidon.common.socket.TlsSocket
- log(System.Logger, System.Logger.Level, String, Object...) - Method in interface io.helidon.common.socket.SocketContext
-
Log a message with the current
SocketContext.socketId()andSocketContext.childSocketId()to have consistent logs mappable to sockets. - log(System.Logger, System.Logger.Level, String, Throwable, Object...) - Method in interface io.helidon.common.socket.SocketContext
-
Log a message with the current
SocketContext.socketId()andSocketContext.childSocketId()to have consistent logs mappable to sockets.
P
- PeerInfo - Interface in io.helidon.common.socket
-
Information about one side of this communication (either local or remote).
- PlainSocket - Class in io.helidon.common.socket
-
Helidon socket that is based on plaintext.
- PlainSocket(Socket, String, String) - Constructor for class io.helidon.common.socket.PlainSocket
-
Plain socket.
- port() - Method in interface io.helidon.common.socket.PeerInfo
-
Port of the peer.
- preBuildPrototype() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Handles providers and decorators.
- protocol() - Method in interface io.helidon.common.socket.HelidonSocket
-
Protocol that was negotiated.
- protocol() - Method in class io.helidon.common.socket.TlsSocket
- protocolNegotiated() - Method in interface io.helidon.common.socket.HelidonSocket
-
Whether a protocol was negotiated by the socket (such as ALPN when using TLS).
- protocolNegotiated() - Method in class io.helidon.common.socket.TlsSocket
- putSocketOption(SocketOption<TYPE>, TYPE) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
This method adds a new value to the map, or replaces it if the key already exists.
R
- read(BufferData) - Method in interface io.helidon.common.socket.HelidonSocket
-
Read bytes from the socket.
- read(BufferData) - Method in class io.helidon.common.socket.PlainSocket
- readTimeout() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket read timeout.
- readTimeout() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- readTimeout() - Method in interface io.helidon.common.socket.SocketOptions
-
Socket read timeout.
- readTimeout(Duration) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket read timeout.
- remotePeer() - Method in class io.helidon.common.socket.PlainSocket
- remotePeer() - Method in interface io.helidon.common.socket.SocketContext
-
Remote peer information.
- remotePeer() - Method in class io.helidon.common.socket.TlsSocket
S
- server(Socket, String, String) - Static method in class io.helidon.common.socket.PlainSocket
-
Create a new server socket.
- server(SSLSocket, String, String) - Static method in class io.helidon.common.socket.TlsSocket
-
Create a server TLS socket.
- socket() - Method in class io.helidon.common.socket.SocketWriter
-
Provides access to the underlying socket.
- SocketContext - Interface in io.helidon.common.socket
-
Information available for a connected socket.
- socketId() - Method in class io.helidon.common.socket.PlainSocket
- socketId() - Method in interface io.helidon.common.socket.SocketContext
-
Main socket id.
- socketKeepAlive() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Configure socket keep alive.
- socketKeepAlive() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- socketKeepAlive() - Method in interface io.helidon.common.socket.SocketOptions
-
Configure socket keep alive.
- socketKeepAlive(boolean) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Configure socket keep alive.
- socketOptions() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Arbitrary socket options.
- socketOptions() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- socketOptions() - Method in interface io.helidon.common.socket.SocketOptions
-
Arbitrary socket options.
- socketOptions(Map<SocketOption<?>, ?>) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
This method replaces all values with the new ones.
- SocketOptions - Interface in io.helidon.common.socket
-
Socket options.
- SocketOptions.Builder - Class in io.helidon.common.socket
-
Fluent API builder for
SocketOptions. - SocketOptions.BuilderBase<BUILDER,
PROTOTYPE> - Class in io.helidon.common.socket -
Fluent API builder base for
SocketOptions. - SocketOptions.BuilderBase.SocketOptionsImpl - Class in io.helidon.common.socket
-
Generated implementation of the prototype, can be extended by descendant prototype implementations.
- SocketOptionsImpl(SocketOptions.BuilderBase<?, ?>) - Constructor for class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
-
Create an instance providing a builder.
- socketReceiveBufferSize() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- socketReceiveBufferSize() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket receive buffer size.
- socketReceiveBufferSize() - Method in interface io.helidon.common.socket.SocketOptions
-
Socket receive buffer size.
- socketReceiveBufferSize(int) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket receive buffer size.
- socketReuseAddress() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- socketReuseAddress() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket reuse address.
- socketReuseAddress() - Method in interface io.helidon.common.socket.SocketOptions
-
Socket reuse address.
- socketReuseAddress(boolean) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket reuse address.
- socketSendBufferSize() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- socketSendBufferSize() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket send buffer size.
- socketSendBufferSize() - Method in interface io.helidon.common.socket.SocketOptions
-
Socket send buffer size.
- socketSendBufferSize(int) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Socket send buffer size.
- SocketWriter - Class in io.helidon.common.socket
-
Socket writer (possibly) used from multiple threads, takes care of writing to a single socket.
- SocketWriter(HelidonSocket) - Constructor for class io.helidon.common.socket.SocketWriter
-
A new socket writer.
- SocketWriterException - Exception Class in io.helidon.common.socket
-
Socket write failed.
- SocketWriterException(Throwable) - Constructor for exception class io.helidon.common.socket.SocketWriterException
-
Socket write failed.
T
- tcpNoDelay() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- tcpNoDelay() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
This option may improve performance on some systems.
- tcpNoDelay() - Method in interface io.helidon.common.socket.SocketOptions
-
This option may improve performance on some systems.
- tcpNoDelay(boolean) - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
This option may improve performance on some systems.
- tlsCertificates() - Method in interface io.helidon.common.socket.PeerInfo
-
TLS certificate chain of the peer.
- tlsPrincipal() - Method in interface io.helidon.common.socket.PeerInfo
-
TLS principal (from certificate) of the peer.
- TlsSocket - Class in io.helidon.common.socket
-
TLS socket.
- toString() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- toString() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
V
- validatePrototype() - Method in class io.helidon.common.socket.SocketOptions.BuilderBase
-
Validates required properties.
W
- write(BufferData) - Method in interface io.helidon.common.socket.HelidonSocket
-
Write teh buffer to the underlying socket.
- write(BufferData) - Method in class io.helidon.common.socket.PlainSocket
- writeNow(BufferData) - Method in class io.helidon.common.socket.SocketWriter
- writeNow(BufferData...) - Method in class io.helidon.common.socket.SocketWriter
All Classes and Interfaces|All Packages|Serialized Form