Skip to content

Commit 90a7fab

Browse files
authored
[톰캣 구현하기 3, 4단계] 주디(오은비) 미션 제출합니다. (#497)
1 parent cb889b7 commit 90a7fab

File tree

69 files changed

+1415
-1809
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1415
-1809
lines changed

study/build.gradle

Lines changed: 0 additions & 35 deletions
This file was deleted.

study/src/main/java/cache/com/example/App.java

Lines changed: 0 additions & 12 deletions
This file was deleted.

study/src/main/java/cache/com/example/Greeting.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

study/src/main/java/cache/com/example/GreetingController.java

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
package cache.com.example;
22

3-
import cache.com.example.dto.RegisterRequest;
43
import org.springframework.http.CacheControl;
54
import org.springframework.http.HttpHeaders;
65
import org.springframework.stereotype.Controller;
7-
import org.springframework.ui.Model;
86
import org.springframework.web.bind.annotation.GetMapping;
9-
import org.springframework.web.bind.annotation.PostMapping;
10-
import org.springframework.web.bind.annotation.RequestBody;
11-
import org.springframework.web.bind.annotation.RequestParam;
127

138
import javax.servlet.http.HttpServletResponse;
149

@@ -20,31 +15,6 @@ public String index() {
2015
return "index";
2116
}
2217

23-
@GetMapping("/index.html")
24-
public String indexHtml() {
25-
return "index";
26-
}
27-
28-
@GetMapping("/login")
29-
public String login(@RequestParam String account, @RequestParam String password) {
30-
return "login";
31-
}
32-
33-
@GetMapping("/login")
34-
public String loginWithNoParams() {
35-
return "login";
36-
}
37-
38-
@GetMapping("/register")
39-
public String register() {
40-
return "register";
41-
}
42-
43-
@PostMapping("/register")
44-
public String registerUser(@RequestBody String requestBody) {
45-
return "index";
46-
}
47-
4818
/**
4919
* 인터셉터를 쓰지 않고 response에 직접 헤더값을 지정할 수도 있다.
5020
*/

study/src/main/java/cache/com/example/cachecontrol/CacheWebConfig.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

study/src/main/java/cache/com/example/dto/RegisterRequest.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

study/src/main/java/cache/com/example/etag/EtagFilterConfiguration.java

Lines changed: 0 additions & 12 deletions
This file was deleted.

study/src/main/java/cache/com/example/version/CacheBustingWebConfig.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

study/src/main/java/cache/com/example/version/ResourceVersion.java

Lines changed: 0 additions & 29 deletions
This file was deleted.

study/src/main/java/cache/com/example/version/VersionHandlebarsHelper.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)