Package de.srsoftware.tools
Klasse Cookie
java.lang.Object
de.srsoftware.tools.Cookie
- Bekannte direkte Unterklassen:
SessionToken
This class allows to add cookies to a header object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<T extends Cookie>
Tadd this cookie instance to a Headers object<T extends Cookie>
TaddTo(HttpExchange ex) add this cookie instance to a Headers objectgetKey()getValue()of(HttpExchange ex) list the cookies of a given HttpExchange object
-
Methodendetails
-
addTo
add this cookie instance to a Headers object- Typparameter:
T- the type of this cookie- Parameter:
headers- the headers object, to which this cookie is added- Gibt zurück:
- this cookie
-
addTo
add this cookie instance to a Headers object- Typparameter:
T- the type of this cookie- Parameter:
ex- the HttpExchange object, to which this cookie is added- Gibt zurück:
- this cookie
-
getKey
-
getValue
-
of
list the cookies of a given HttpExchange object- Parameter:
ex- the HttpExchange object- Gibt zurück:
- the list of cookies
-
setValue
-