Drop support for Spring Mobile

Closes gh-10884
This commit is contained in:
Andy Wilkinson
2017-11-02 14:39:46 +00:00
parent e43d0adc4f
commit 2ae4678b1e
23 changed files with 0 additions and 1307 deletions

View File

@@ -1,21 +0,0 @@
package org.test
@Controller
@EnableDeviceResolver
class Example {
@RequestMapping("/")
@ResponseBody
String helloWorld(Device device) {
if (device.isNormal()) {
"Hello Normal Device!"
} else if (device.isMobile()) {
"Hello Mobile Device!"
} else if (device.isTablet()) {
"Hello Tablet Device!"
} else {
"Hello Unknown Device!"
}
}
}