Package io.kroxylicious.proxy.internal
Class KafkaSession
java.lang.Object
io.kroxylicious.proxy.internal.KafkaSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetHaProxyContext(HaProxyContext context) Store the HaProxy PROXY-protocol context for this session.toString()transitionTo(KafkaSessionState newState)
-
Constructor Details
-
KafkaSession
-
-
Method Details
-
transitionTo
-
sessionId
-
currentState
-
setHaProxyContext
Store the HaProxy PROXY-protocol context for this session.- Parameters:
context- the immutable context extracted from the decoded message
-
haProxyContext
- Returns:
- the HaProxy message received for this session, or
nullif none.
-
equals
-
hashCode
public int hashCode() -
toString
-