java.lang.Object
swim.http.HttpPart
swim.http.HttpHeader
swim.http.header.SetCookieHeader
- All Implemented Interfaces:
Comparable<HttpHeader>,Debug
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SetCookieHeaderstatic SetCookieHeaderstatic SetCookieHeader<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanvoidexpire()inthashCode()booleanisBlank()name()voidvoidvoidsetMaxAge(long maxAge) voidvoidsetSameSite(SetCookieHeader.SameSite sameSite) voidvoidvoidvoidvoidvoidvoidWriter<?,?> writeHeaderValue(Output<?> output, HttpWriter http) Methods inherited from class swim.http.HttpHeader
compareTo, httpWriter, parseHttp, toString, value, writeHttpMethods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
Method Details
-
isBlank
public boolean isBlank()- Overrides:
isBlankin classHttpHeader
-
lowerCaseName
- Specified by:
lowerCaseNamein classHttpHeader
-
name
- Specified by:
namein classHttpHeader
-
writeHeaderValue
- Specified by:
writeHeaderValuein classHttpHeader
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.- Specified by:
debugin interfaceDebug- Specified by:
debugin classHttpHeader- Returns:
- the continuation of the
output.
-
create
-
create
-
create
-
expire
public void expire() -
setSecure
public void setSecure() -
unsetSecure
public void unsetSecure() -
setHttpOnly
public void setHttpOnly() -
unsetHttpOnly
public void unsetHttpOnly() -
setMaxAge
public void setMaxAge(long maxAge) -
unsetMaxAge
public void unsetMaxAge() -
setDomain
-
unsetDomain
public void unsetDomain() -
setPath
-
unsetPath
public void unsetPath() -
setSameSite
-
unsetSameSite
public void unsetSameSite()
-