Skip to content

[Hamill&Dan][HTTP 웹서버 구현하기] Step1 Submit #49

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

Closed
wants to merge 22 commits into from

Conversation

hanurii
Copy link

@hanurii hanurii commented Mar 19, 2020

HTTP 웹서버 구현하기

# Step 1 기능 구현 완료

  • Index 파일 읽기
  • 회원가입 구현
  • 로그인 구현
  • 사용자 목록 페이지 구현
  • Stylesheet 지원 구현

# Ground Rule

https://github.com/Hamill210/java-was/wiki/Ground-Rule

hanurii and others added 22 commits March 16, 2020 15:38
- Ground Rule 추가
- Repository 관리 추가
- 커밋 메시지 가이드 추가
refactor : README.md update
- Handlebar 수정 중

associate with : #1
- 모든 Request Header 출력하기
- Request Line에서 path 분리하기
- path에 해당하는 파일 읽어 응답하기

associate with : #1
- index.html 완료

associate with : #1
- Ground Rule wiki 로 이동
- Day 의 회고는 issue 로 관리
- 상대 경로였던 프로그램 경로를 절대 경로로 수정
- UserController 클래스 추가
- WelcomeController 클래스 추가
- HttpRequestUtils 클래스에 parseUriString 메서드 추가

associate with : #2
- WelcomeController 추가
- UserController 추가
- User 생성자 추가 (매개변수 userParameterMap)

associate with #2
- 코드 정리
- Test case 추가

associate with #2
- user/form.html 수정
* requestHeader, requestBody 메서드 추가 및 수정 중

associate with : #6
- requestBody 가져오기

associate with #6
- requestLine, requestHeader, requestBody 를 나누어 구현
- Pair 객체를 사용
- GET /user/form.html 구현
- POST /user/create 구현
  - WebServer 에 userDB 를 두어 User 정보를 관리

associate with #7, #8
- requestLine, requestHeader, requestBody 를 가져올 수 있는 메소드를 나누어 구현
- statusLine, responseHeader, responseBody 를 가져올 수 있는 메소드를 나누어 구현
- PageController
  - dowork()의 리턴타입 변경 (String -> Map)
- ReqestHandler
  - dowork() 리턴값 변경에 따른 변수명 변경

associate with : #7
- /index.html, /user/login.html 구현
- User create 연결

associate with #7
- login_failed는 GET에 추가

associate with #7
- /user/login 구현
- parseRequestBody 메서드 구현

associate with #7
- Post /user/login 구현 완료

associate with #7 #8
- RequestHandler.java : dowork()
    - requestHeader에서 cookie 값 추출 후 조건문 사용

associate with #1
- PageController.java : doWork()
  - css 처리를 위한 로직 추가
- RequestHandler.java : responseHeader()
  - Content-Type 추가

associate with #9 #10
[Hamill&Dan][HTTP 웹서버 구현하기] Step1 Submit
@hanurii
Copy link
Author

hanurii commented Mar 20, 2020

새로운 PR에 포함된 내용이어서 본 PR은 Close 합니다.

@hanurii hanurii closed this Mar 20, 2020
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