- All Superinterfaces:
SocketContext
Server connection context.
-
Method Summary
Modifier and TypeMethodDescriptionData reader to read request bytes.Data writer to write response bytes.executor()
Executor service to submit asynchronous tasks.Context of the listener.default Optional
<ProxyProtocolData> Proxy protocol header data.router()
Router that may contain routings of different types (HTTP, WebSocket, grpc).Methods inherited from interface io.helidon.common.socket.SocketContext
childSocketId, isSecure, localPeer, log, log, remotePeer, socketId
-
Method Details
-
listenerContext
ListenerContext listenerContext()Context of the listener. Configuration specific to a single listener.- Returns:
- listener specific context
-
executor
ExecutorService executor()Executor service to submit asynchronous tasks.- Returns:
- executor service
-
dataWriter
DataWriter dataWriter()Data writer to write response bytes.- Returns:
- data writer
-
dataReader
DataReader dataReader()Data reader to read request bytes.- Returns:
- data reader
-
router
Router router()Router that may contain routings of different types (HTTP, WebSocket, grpc).- Returns:
- rouer
-
proxyProtocolData
Proxy protocol header data.- Returns:
- protocol header data if proxy protocol is enabled on socket
- See Also:
-