We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed7f69 commit 7fa86a9Copy full SHA for 7fa86a9
src/main/java/com/somemore/global/common/response/LoggedResponse.java
@@ -0,0 +1,15 @@
1
+package com.somemore.global.common.response;
2
+
3
+import lombok.Getter;
4
+import org.springframework.http.HttpStatusCode;
5
6
+@Getter
7
+public class LoggedResponse {
8
+ private final HttpStatusCode statusCode;
9
+ private final String body;
10
11
+ public LoggedResponse(HttpStatusCode statusCode, String body) {
12
+ this.statusCode = statusCode;
13
+ this.body = body;
14
+ }
15
+}
0 commit comments