-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4단계 - Tomcat 구현하기] 마크(김승현) 미션 제출합니다. (#751)
* fix: remove implementation logback-classic on gradle (#501) * fix: add threads min-spare configuration on properties (#502) * test: FileTest 및 IOStreamTest 통과 * chore: lombok 의존성 추가 * feat: 1-1 'GET /index.html 응답하기' 기능 구현 * feat: 1-2 CSS 지원하기 기능 구현 - MimeType 열거형 추가 - 정적 URI를 못찾을 시 404 반환 * refactor: getResponse 로직 메서드 분리 * refactor: 간단한 예외처리 추가 * refactor(HttpRequest): path와 parameters 추가 및 파싱 * feat: 1-3 Query String 파싱 구현 * feat: 2-1 로그인 여부에 따라 페이지 이동 구현 * refactor: HttpResponse 객체 추가 * refactor: 메서드 인자 및 이름 변경 - getStaticResource(HttpRequest request) -> getStaticResourceResponse(String requestPath) * fix: 템플릿 엔진 미사용 * test: 휴리스틱 캐싱 제거 - CacheControlInterceptor 추가 * test: HTTP Compression 설정 * fix: 알맞은 resource 이름 반환 * test: ETag/If-None-Match 적용 - ShallowEtagHeaderFilter 사용 * test: 캐시 무효화 - 캐시 max-age 1년 설정 - ETag 적용 - url에 버전 적용 * feat: POST 방식으로 회원가입 - 요청 본문 파싱 로직 수정 * fix: 파라미터 없는 /login 접속 불가능 수정 * fix: 요청 본문 URLDecode * fix: Cookie에 JSESSIONID 값 저장 - HttpCookie 객체 구현 및 요청, 응답 객체에 추가 * feat: Session 구현 * refactor: 요청 URL 디코딩 * refactor: application/x-www-form-urlencoded MIME 타입 요청 본문 값을 파라미터로 처리 * refactor(HttpResponse): 생성자 추가 * refactor(HttpResponse): 상태 코드 및 메시지 열거형 분리 - enum HttpStatusCode * refactor: Http11Processor 에서 컨트롤러 로직 분리 - 컨트롤러 인터페이스 추가 - 정적 자원 불러오는 로직 객체 분리 - 요청 경로애 따른 컨트롤러 맵핑 * refactor: 정적 자원 캐시 정책 추가 * refactor: 요청, 응답 헤더 객체화 - 하드 코딩 값 상수화 - 세션 쿠키에 HttpOnly 설정 * refactor: 로그인 요청 메서드 POST로 변경 - DB 인스턴스 생성 및 User id 유효값 저장 - 루트 패스 인덱스 페이지로 변경 * test: 컨트롤러 및 도매인 테스트 추가 - User 검증 추가 * fix: 키밸류 값 문제 시 패스 * chore: 세션 패키지 변경 * refactor: svg 파일 처리 추가 * refactor: 변수명 변경 * chore: 패키지 수정 * feat: 스레드 학습 테스트 * feat: Executors로 Thread Pool 적용 * feat: 동시성 컬렉션 사용하기 * chore: 사용하지 않는 변수 및 import 제거 --------- Co-authored-by: Gyeongho Yang <[email protected]>
- Loading branch information
1 parent
c601373
commit 6960507
Showing
6 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
tomcat/src/main/java/org/apache/catalina/session/SessionManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters