BAEL-89 spring session update to fork

This commit is contained in:
tschiman
2016-11-17 20:28:50 -07:00
121 changed files with 3172 additions and 320 deletions

View File

@@ -1,7 +1,8 @@
package com.baeldung.spring.session.tomcatex;
package com.baeldung.spring.session.jettyex;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication
public class JettyWebApplication {

View File

@@ -1,4 +1,4 @@
package com.baeldung.spring.session.tomcatex;
package com.baeldung.spring.session.jettyex;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;

View File

@@ -1,4 +1,4 @@
package com.baeldung.spring.session.tomcatex;
package com.baeldung.spring.session.jettyex;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

View File

@@ -0,0 +1,12 @@
package com.baeldung.spring.session.jettyex;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class TestController {
@RequestMapping
public String helloJetty() {
return "hello Jetty";
}
}

View File

@@ -3,9 +3,6 @@ package com.baeldung.spring.session.tomcatex;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Created by tschi on 11/12/2016.
*/
@RestController
public class TestController {