Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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