Class SetCookieHeader
java.lang.Object
septogeddon.pluginquery.http.headertype.SetCookieHeader
- All Implemented Interfaces:
HTTPHeader
Set-Cookie HTTP header
-
Constructor Summary
ConstructorDescriptionSetCookieHeader
(Object raw) Parse Set-Cookie headerSetCookieHeader
(String name, Object value) Create a Set-Cookie headerSetCookieHeader
(HttpCookie cookie) Create a Set-Cookie header using existing HttpCookie -
Method Summary
-
Constructor Details
-
SetCookieHeader
Parse Set-Cookie header- Parameters:
raw
- the raw header value
-
SetCookieHeader
Create a Set-Cookie header- Parameters:
name
- the cookie namevalue
- the cookie value
-
SetCookieHeader
Create a Set-Cookie header using existing HttpCookie- Parameters:
cookie
-
-
-
Method Details
-
getCookie
The Cookie- Returns:
- the HttpCookie instance
-
toString
Description copied from interface:HTTPHeader
Get the raw header- Specified by:
toString
in interfaceHTTPHeader
- Overrides:
toString
in classObject
- Returns:
- raw header value
-