-
Notifications
You must be signed in to change notification settings - Fork 309
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
[톰캣] - 1,2 단계 박스터 미션 제출합니다 #303
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs 0.0% Coverage The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
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.
전체적으로 클래스 분리가 굉장히 깔끔하게 되어있고 테스트도 잘 되어있어서 읽기 좋았습니다 !!!!
많이 배워갑니다... 최고입니다👍
RequestReader 쪽의 분기가 많긴 했지만 3단계 적용시키면 깔끔해 질 것 같아서 기대됩니다 ◡̈
이 부분 리팩 진행하면서 api 테스트 좀 더 추가되면 갓갓갓갓벽 할 것 같습니다 짱입니다 !!!!
|
||
import java.util.Arrays; | ||
|
||
public enum ContentType { |
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.
enum 분리 잘되어있어서 읽기 편했습니다 !!!!
너무 좋습니다 !!
while (isNotEmpty(line)) { | ||
String[] splitedLine = line.split(":", 2); | ||
|
||
String key = splitedLine[KEY_INDEX].toLowerCase(); |
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.
request header부분만 lowerCase로 변경해주던데
이유가 궁금합니더 !
String line = bufferedReader.readLine(); | ||
|
||
while (isNotEmpty(line)) { | ||
String[] splitedLine = line.split(":", 2); |
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.
👍
import org.apache.coyote.http11.common.HttpMethod; | ||
import org.apache.coyote.http11.common.HttpVersion; | ||
|
||
public class RequestLine { |
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.
이부분 클래스 명이 조금 모호한것 같아서
RequestStartLine 으로 변경 제안 드립니당@!
responseHeaders.addCookie(cookie); | ||
} | ||
|
||
@Override |
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.
넘 깔끔하고 좋습니다 ...
배워갑니다 !!!!!!!!
케로 안녕하세요
이상입니다. 설명이 짧다면 디엠 주세요