-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor: 매소드 네이밍 정리 및 웹소켓 핸들러 코드 최적화 #158
Conversation
- MyPageController ~ SocketController
…o refactor/method-name-0501
- SocketService, Socket 접속 관련
- 메소드 네이밍 리팩토링 - dto record 자료형으로 변경
…refactor/method-name-0501
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gikhoon 리뷰 남겼습니다~~ 관련된 부분 수정해서 마무리할게요!1
@@ -15,7 +15,7 @@ public enum ErrorCode { | |||
FILTER_EXCEPTION(HttpStatus.UNAUTHORIZED, "필터 내부에러 발생"), | |||
JWT_FORM_ERROR(HttpStatus.UNAUTHORIZED, "jwt 형식 에러 발생"), | |||
|
|||
EMAIL_NOT_FOUND(HttpStatus.NOT_FOUND, "해당 이메일이 존재하지 않습니다."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
해당 EMAIL_NOT_FOUND 에러는 여러곳에서 사용되고 있어서 소켓 핸들러에서 Enum명이 바뀌었다고 다 바꾸면 안됩니다..!
@gikhoon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다
src/main/java/cotato/csquiz/global/websocket/WebSocketHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/cotato/csquiz/global/websocket/WebSocketHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/cotato/csquiz/global/websocket/WebSocketHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/cotato/csquiz/global/websocket/WebSocketHandler.java
Outdated
Show resolved
Hide resolved
- 별도의 'sendMessage(session, object)' 활용 - 해당 메서드에서 예외 처리 담당
- findOldMembersList -> findOldMembers
src/main/java/cotato/csquiz/global/websocket/WebSocketHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/cotato/csquiz/global/websocket/WebSocketHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/cotato/csquiz/global/websocket/WebSocketHandler.java
Outdated
Show resolved
Hide resolved
- findOldMembersList -> findOldMembers
No description provided.