Docs: Fix javaDoc comments to match changes
This commit is contained in:
+1
-2
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-2
@@ -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());
|
||||||
|
|||||||
+1
-2
@@ -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) {
|
||||||
|
|||||||
+1
-2
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user