-
Notifications
You must be signed in to change notification settings - Fork 388
[1-2단계 Tomcat 구현하기] 산초(나영서) 미션 제출합니다. #573
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
Conversation
- 우테코 컨벤션에 맞게
tsulocalize
left a comment
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.
전반적으로 잘 구현해주신 것 같아 간단한 코멘트만 남기고 Approve & Merge 하겠습니다!
| return headers.get("Content-Type"); | ||
| } | ||
|
|
||
| public Map<String, String> getCookies() { |
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.
Cookie 클래스를 만들어 보는 건 어떨까요?
| String url = request | ||
| .split(System.lineSeparator())[0] | ||
| .split(" ")[1]; |
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.
반복 코드를 줄여보는 건 어떨까요?
안녕하세요 우주🛸
이번 톰캣 구현하기 미션의 리뷰이인 산초입니다.
리뷰를 하시며 참고할 부분들을 아래 적어두었습니다.
그럼 리뷰 미리 감사드립니다🙇🏻♀️
Dispatcher Servlet 의 구조를 참고해서 구현했습니다.
처음부터 이를 의도한 것은 아니었습니다.. 하지만 단계가 높아짐에 따라 요청을 어떻게 처리할지 어려웠고, 제게 가장 익숙한 Dispatcher Servlet의 구조를 참고하며 구현했습니다. 그런데 '톰캣 구현하기'가 목표이니, 이런 접근이 좋지 않았다는 생각이 듭니다😔 다음에 리팩터링할 때는, 웹서버와 웹 어플리케이션 서버를 더 확실히 구분하고, 패키지나 클래스도 톰캣의 구조를 따로도록 바꿔보고 싶습니다.