Docs: Fix javaDoc comments to match changes

This commit is contained in:
Lars Simon Winzer
2026-03-31 20:47:46 +02:00
parent 2ad2981724
commit 307c234c91
4 changed files with 4 additions and 8 deletions
@@ -8,8 +8,7 @@ public class ErrorResponse extends Response {
/** /**
* Construct an error response with a code and message. * Construct an error response with a code and message.
* *
* @param sessionId the target session id * @param context the RequestContext of the request
* @param requestId the originating request id
* @param errorCode a short error code identifying the failure * @param errorCode a short error code identifying the failure
* @param errorMessage a human readable error message * @param errorMessage a human readable error message
*/ */
@@ -12,8 +12,7 @@ public class OkResponse extends SuccessResponse {
/** /**
* Create a minimal successful response (no body content). * Create a minimal successful response (no body content).
* *
* @param sessionId the target session id * @param context the RequestContext of the request
* @param requestId the originating request id
*/ */
public OkResponse(RequestContext context) { public OkResponse(RequestContext context) {
super(context, ResponseBody.builder().build()); super(context, ResponseBody.builder().build());
@@ -12,8 +12,7 @@ public abstract class Response {
/** /**
* Create a new {@code Response}. * Create a new {@code Response}.
* *
* @param sessionId the id of the session this response targets * @param context the RequestContext of the request
* @param requestId the request identifier this response corresponds to
* @param body the structured response body * @param body the structured response body
*/ */
protected Response(RequestContext context, ResponseBody body) { protected Response(RequestContext context, ResponseBody body) {
@@ -13,8 +13,7 @@ public abstract class SuccessResponse extends Response {
/** /**
* Create a successful response with the provided body. * Create a successful response with the provided body.
* *
* @param sessionId the session id this response targets * @param context the RequestContext of the request
* @param requestId the originating request id
* @param body the response body * @param body the response body
*/ */
protected SuccessResponse(RequestContext context, ResponseBody body) { protected SuccessResponse(RequestContext context, ResponseBody body) {