Skip to content

Conversation

@nayonsoso
Copy link

안녕하세요 우주🛸
이번 톰캣 구현하기 미션의 리뷰이인 산초입니다.
리뷰를 하시며 참고할 부분들을 아래 적어두었습니다.
그럼 리뷰 미리 감사드립니다🙇🏻‍♀️


Dispatcher Servlet 의 구조를 참고해서 구현했습니다.

처음부터 이를 의도한 것은 아니었습니다.. 하지만 단계가 높아짐에 따라 요청을 어떻게 처리할지 어려웠고, 제게 가장 익숙한 Dispatcher Servlet의 구조를 참고하며 구현했습니다. 그런데 '톰캣 구현하기'가 목표이니, 이런 접근이 좋지 않았다는 생각이 듭니다😔 다음에 리팩터링할 때는, 웹서버와 웹 어플리케이션 서버를 더 확실히 구분하고, 패키지나 클래스도 톰캣의 구조를 따로도록 바꿔보고 싶습니다.

geoje and others added 30 commits September 5, 2024 11:11
- 우테코 컨벤션에 맞게
@nayonsoso nayonsoso self-assigned this Sep 6, 2024
Copy link

@tsulocalize tsulocalize left a 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() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cookie 클래스를 만들어 보는 건 어떨까요?

Comment on lines +30 to +32
String url = request
.split(System.lineSeparator())[0]
.split(" ")[1];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반복 코드를 줄여보는 건 어떨까요?

@tsulocalize tsulocalize merged commit 58e154c into woowacourse:nayonsoso Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants