mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 09:06:03 +00:00
implemented #152.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1132 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
4de81f1eb3
commit
a2b9eaee30
3 files changed
+51
-3
No files matched your search
@@ -170,6 +170,12 @@ public class Functions {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String getCookie(HttpServletRequest req,String name, String defaultValue) {
|
||||
Cookie c = getCookie(req, name);
|
||||
if(c==null || c.getValue()==null) return defaultValue;
|
||||
return c.getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a sub map by using the given range (both ends inclusive).
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user