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 SetCookieHeader
static SetCookieHeader
static SetCookieHeader
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
void
expire()
int
hashCode()
boolean
isBlank()
name()
void
void
void
setMaxAge
(long maxAge) void
void
setSameSite
(SetCookieHeader.SameSite sameSite) void
void
void
void
void
void
void
Writer<?,
?> writeHeaderValue
(Output<?> output, HttpWriter http) Methods inherited from class swim.http.HttpHeader
compareTo, httpWriter, parseHttp, toString, value, writeHttp
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
Method Details
-
isBlank
public boolean isBlank()- Overrides:
isBlank
in classHttpHeader
-
lowerCaseName
- Specified by:
lowerCaseName
in classHttpHeader
-
name
- Specified by:
name
in classHttpHeader
-
writeHeaderValue
- Specified by:
writeHeaderValue
in classHttpHeader
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.- Specified by:
debug
in interfaceDebug
- Specified by:
debug
in 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()
-