Skip to content

Commit

Permalink
[톰캣 구현하기 3, 4단계] 주디(오은비) 미션 제출합니다. (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
eunbii0213 authored Sep 13, 2023
1 parent cb889b7 commit 90a7fab
Show file tree
Hide file tree
Showing 69 changed files with 1,415 additions and 1,809 deletions.
35 changes: 0 additions & 35 deletions study/build.gradle

This file was deleted.

12 changes: 0 additions & 12 deletions study/src/main/java/cache/com/example/App.java

This file was deleted.

20 changes: 0 additions & 20 deletions study/src/main/java/cache/com/example/Greeting.java

This file was deleted.

30 changes: 0 additions & 30 deletions study/src/main/java/cache/com/example/GreetingController.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
package cache.com.example;

import cache.com.example.dto.RegisterRequest;
import org.springframework.http.CacheControl;
import org.springframework.http.HttpHeaders;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletResponse;

Expand All @@ -20,31 +15,6 @@ public String index() {
return "index";
}

@GetMapping("/index.html")
public String indexHtml() {
return "index";
}

@GetMapping("/login")
public String login(@RequestParam String account, @RequestParam String password) {
return "login";
}

@GetMapping("/login")
public String loginWithNoParams() {
return "login";
}

@GetMapping("/register")
public String register() {
return "register";
}

@PostMapping("/register")
public String registerUser(@RequestBody String requestBody) {
return "index";
}

/**
* 인터셉터를 쓰지 않고 response에 직접 헤더값을 지정할 수도 있다.
*/
Expand Down

This file was deleted.

20 changes: 0 additions & 20 deletions study/src/main/java/cache/com/example/dto/RegisterRequest.java

This file was deleted.

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions study/src/main/java/cache/com/example/version/ResourceVersion.java

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions study/src/main/java/thread/stage2/App.java

This file was deleted.

11 changes: 0 additions & 11 deletions study/src/main/java/thread/stage2/HelloWorldService.java

This file was deleted.

33 changes: 0 additions & 33 deletions study/src/main/java/thread/stage2/SampleController.java

This file was deleted.

9 changes: 0 additions & 9 deletions study/src/main/resources/application.yml

This file was deleted.

1 change: 0 additions & 1 deletion study/src/main/resources/static/js/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions study/src/main/resources/templates/index.html

This file was deleted.

11 changes: 0 additions & 11 deletions study/src/main/resources/templates/resource-versioning.html

This file was deleted.

Loading

0 comments on commit 90a7fab

Please sign in to comment.