Top Description Methods
io.vertx.core.http.impl

public Interface ServerCookie

extends Cookie
Known Direct Implementers
io.vertx.core.http.impl.CookieImpl
Imports
io.vertx.core.http.Cookie

Add specific state for managing the cookie on the server

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if changed
isChanged
()

Has the cookie been changed?

public boolean

Returns:

true if the cookie comes from the User Agent.
isFromUserAgent
()

Has this Cookie been sent from the User Agent (the browser)?

public void
setChanged(boolean
true if changed
changed
)

Set the cookie as being changed.

Inherited from io.vertx.core.http.Cookie:
cookieencodegetDomaingetMaxAgegetNamegetPathgetSameSitegetValueisHttpOnlyisSecuresetDomainsetHttpOnlysetMaxAgesetPathsetSameSitesetSecuresetValue

Method Detail

isChangedback to summary
public boolean isChanged()

Has the cookie been changed? Changed cookie jar will be saved out in the response and sent to the browser.

Returns:boolean

true if changed

isFromUserAgentback to summary
public boolean isFromUserAgent()

Has this Cookie been sent from the User Agent (the browser)? or was created during the executing on the request.

Returns:boolean

true if the cookie comes from the User Agent.

setChangedback to summary
public void setChanged(boolean changed)

Set the cookie as being changed. Changed will be true for a cookie just created, false by default if just read from the request

Parameters
changed:boolean

true if changed