|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.checkstyle.util.CookieHandler
public class CookieHandler
Creates and converts cookies.
| Constructor Summary | |
|---|---|
CookieHandler(java.lang.String name)
Creates a new instance of CookieHandler. |
|
| Method Summary | |
|---|---|
javax.servlet.http.Cookie |
create(java.util.List<org.kohsuke.stapler.Ancestor> requestAncestors,
java.lang.String value)
Sends a cookie with the specified value. |
java.lang.String |
getValue(javax.servlet.http.Cookie[] cookies)
Selects the correct cookie from the specified cookies and returns its value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookieHandler(java.lang.String name)
CookieHandler.
name - the name of the cookie| Method Detail |
|---|
public javax.servlet.http.Cookie create(java.util.List<org.kohsuke.stapler.Ancestor> requestAncestors,
java.lang.String value)
requestAncestors - the ancestors of the requestvalue - the cookie value
public java.lang.String getValue(javax.servlet.http.Cookie[] cookies)
cookies - the cookies to scan
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||