diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-12-23 15:47:38 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-12-23 15:47:38 +0100 |
commit | db3d586b9937e8a556c499faa485a2d9e4a03f81 (patch) | |
tree | d7dbc6821d2b3499e26492690fb3536cffce4ce9 /eaaf-springboot-utils/src/test/java/at/gv/egiz/eaaf/utils/springboot/test/dummy/DummyController.java | |
parent | 04cec6a9aa085bba0736cc6d55cb6c8b4d54a0a0 (diff) | |
download | EAAF-Components-db3d586b9937e8a556c499faa485a2d9e4a03f81.tar.gz EAAF-Components-db3d586b9937e8a556c499faa485a2d9e4a03f81.tar.bz2 EAAF-Components-db3d586b9937e8a556c499faa485a2d9e4a03f81.zip |
add new module that include common-code for SpringBoot applications
Diffstat (limited to 'eaaf-springboot-utils/src/test/java/at/gv/egiz/eaaf/utils/springboot/test/dummy/DummyController.java')
-rw-r--r-- | eaaf-springboot-utils/src/test/java/at/gv/egiz/eaaf/utils/springboot/test/dummy/DummyController.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/eaaf-springboot-utils/src/test/java/at/gv/egiz/eaaf/utils/springboot/test/dummy/DummyController.java b/eaaf-springboot-utils/src/test/java/at/gv/egiz/eaaf/utils/springboot/test/dummy/DummyController.java new file mode 100644 index 00000000..65dcf5c1 --- /dev/null +++ b/eaaf-springboot-utils/src/test/java/at/gv/egiz/eaaf/utils/springboot/test/dummy/DummyController.java @@ -0,0 +1,23 @@ +package at.gv.egiz.eaaf.utils.springboot.test.dummy; + +import java.io.IOException; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + + +@Controller +public class DummyController { + + @RequestMapping(value = {"/junit"}, + method = { RequestMethod.POST, RequestMethod.GET }) + public void performGenericAuthenticationProcess(HttpServletRequest req, HttpServletResponse resp) + throws IOException { + resp.setStatus(200); + + } +} |