Docs: Write JavaDoc for RequestContext

This commit is contained in:
Lars Simon Winzer
2026-03-24 18:12:02 +01:00
parent edc1b29884
commit d1510ddf8e
@@ -2,4 +2,13 @@ package ch.unibas.dmi.dbis.cs108.casono.server.network.parser;
import ch.unibas.dmi.dbis.cs108.casono.server.network.sessions.SessionId;
/**
* Immutable context for a network request.
*
* <p>Contains the originating session's identifier and the request's id. Later used to create
* response.
*
* @param sessionId the identifier of the session that initiated the request
* @param requestId the request's numeric id within the session
*/
public record RequestContext(SessionId sessionId, int requestId) {}