Interface SocketInterceptor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Layer-4 hook invoked for accepted inbound TCP sockets before LoomCache registers the connection.
Implementations may inspect or customize the socket, perform a custom handshake, or throw to reject the connection. Rejected sockets are closed by the TCP server.
-
Method Summary
-
Method Details
-
onAccept
- Throws:
IOException
-