diff options
author | Ugnich Anton | 2014-06-17 16:29:44 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-06-17 16:29:44 +0700 |
commit | 3ba6237fa51d77bd6da0557a19ca729e70d76d1c (patch) | |
tree | b39e06f9585f10b78a545179ff9ae5a7fcf3beb9 /src/java/com/juick/http/www/Utils.java | |
parent | 186016ac2e03c10497e30c9a651dc9757108b489 (diff) |
- isMobileRequest;
- Dev
* blockquote -> q
Diffstat (limited to 'src/java/com/juick/http/www/Utils.java')
-rw-r--r-- | src/java/com/juick/http/www/Utils.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/java/com/juick/http/www/Utils.java b/src/java/com/juick/http/www/Utils.java index 271252c7..e20be893 100644 --- a/src/java/com/juick/http/www/Utils.java +++ b/src/java/com/juick/http/www/Utils.java @@ -88,11 +88,6 @@ public class Utils { } } - public static boolean isMobileRequest(HttpServletRequest request) { - String ua = request.getHeader("User-Agent"); - return ua != null && ua.contains(" Juick/"); - } - public static void sendTemporaryRedirect(HttpServletResponse response, String location) { response.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY); response.setHeader("Location", location); |