Skip to content
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

[톰캣 구현하기 3, 4단계] 주디(오은비) 미션 제출합니다. #497

Merged
merged 6 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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