Skip to content

Step1 #38

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

Merged
merged 3 commits into from
Jan 25, 2019
Merged

Step1 #38

merged 3 commits into from
Jan 25, 2019

Conversation

Sehun-Kim
Copy link

@Sehun-Kim Sehun-Kim commented Jan 25, 2019

WAS Step1

최대한 기본 라이브러리를 활용하여 만들었습니다. (어노테이션, 리플렉션 X)

  1. handler로 들어온 리퀘스트를 처리할 Controller에 보내는 Dispatcher 클래스를 만들었습니다.
  2. handler를 통해 받은 리퀘스트는 객체로 만들어 처리합니다. 또한, 리퀘스트의 각 부분을 다시 객체로 나누었습니다.
리퀘스트 : HttpRequest = {
 리퀘스트 라인 : RequestLine
 레퀘스트 헤더 : RequestHeader
 리퀘스트 바디 : RequestBody
}
  1. 후에 확장을 고려하여 http method들을 enum으로 만들어 두었습니다.

sechun added 3 commits January 23, 2019 23:28
@javajigi javajigi merged commit b945051 into code-squad:Sehun-Kim Jan 25, 2019
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.

2 participants