|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.RequestCycle
org.apache.wicket.protocol.http.WebRequestCycle
net.databinder.ExceptionFilteringRequestCycle
net.databinder.CookieRequestCycle
public class CookieRequestCycle
Request cycle with cookie convenience methods that reflects removal immediately.
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.RequestCycle |
|---|
application, processor, request, response |
| Constructor Summary | |
|---|---|
CookieRequestCycle(org.apache.wicket.protocol.http.WebApplication application,
org.apache.wicket.protocol.http.WebRequest request,
org.apache.wicket.Response response)
|
|
| Method Summary | |
|---|---|
void |
applyScope(javax.servlet.http.Cookie cookie)
Applies scope to cookies set by this application. |
void |
clearCookie(java.lang.String name)
Sets a new a cookie with an expiration time of zero to an clear an old one from the browser, and removes any copy from this request's cookie cache. |
javax.servlet.http.Cookie |
getCookie(java.lang.String name)
Retrieve cookie from request, so long as it hasn't been cleared. |
protected java.util.Map<java.lang.String,javax.servlet.http.Cookie> |
getCookies()
Return or build cache of cookies cookies from request. |
| Methods inherited from class net.databinder.ExceptionFilteringRequestCycle |
|---|
logRuntimeException, setWarnOnlySource |
| Methods inherited from class org.apache.wicket.protocol.http.WebRequestCycle |
|---|
getProcessor, getWebRequest, getWebResponse, getWebSession, isRedirect, newClientInfo, redirectTo |
| Methods inherited from class org.apache.wicket.RequestCycle |
|---|
detach, get, getApplication, getClientInfo, getMetaData, getOriginalResponse, getPageParameters, getRedirect, getRequest, getRequestTarget, getResponse, getResponsePage, getResponsePageClass, getSession, getStartTime, isUrlForNewWindowEncoding, onBeginRequest, onEndRequest, onRuntimeException, request, request, request, set, setAutomaticallyClearFeedbackMessages, setMetaData, setRedirect, setRequest, setRequestTarget, setResponse, setResponsePage, setResponsePage, setResponsePage, setResponsePage, setUrlForNewWindowEncoding, toString, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, wasHandled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CookieRequestCycle(org.apache.wicket.protocol.http.WebApplication application,
org.apache.wicket.protocol.http.WebRequest request,
org.apache.wicket.Response response)
| Method Detail |
|---|
protected java.util.Map<java.lang.String,javax.servlet.http.Cookie> getCookies()
public javax.servlet.http.Cookie getCookie(java.lang.String name)
name - cookie name
public void applyScope(javax.servlet.http.Cookie cookie)
cookie - to have its scope setpublic void clearCookie(java.lang.String name)
name - cookie name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||