|
Class: HTTPCookie
Object
|
+--HTTPCookie
- Package:
- stx:goodies/webServer
- Category:
- Net-Communication-HTTP-Server
- Version:
- rev:
1.14
date: 2019/07/08 18:18:33
- user: cg
- file: HTTPCookie.st directory: goodies/webServer
- module: stx stc-classLibrary: webServer
- Author:
- Christian Penk
accessing
-
expiration
-
return the value of the instance variable 'expiration' (automatically generated)
-
expiration: something
-
set the value of the instance variable 'expiration' (automatically generated)
-
httpOnly
-
-
httpOnly: something
-
-
maxAge
-
-
maxAge: something
-
-
name
-
-
name: something
-
-
name: nameArg value: valueArg path: pathArg expiration: expirationArg
-
set instance variables (automatically generated)
-
path
-
if I am still raw, cook me
-
path: something
-
-
rawValue
-
-
rawValue: something
-
-
secure
-
-
secure: something
-
-
value
-
if I am still raw, cook me
-
value: something
-
encoding & decoding
-
extractValueAndPathFromRawValue
-
-
extractValueFrom: aBase64EncodedString
-
|c s|
c := HTTPCookie new.
c value:#('aaa' 1234 '97e44aa0-c51c-11dd-8dc8-0018f3c28c0d' '/foo/bar/baz').
s := c htmlString.
c extractValueFrom:(s copyFrom:(s indexOf:$=)+1 to:(s indexOf:$;)-1).
-
htmlString
-
self new htmlString
(Timestamp
day:1 month:1 year:2010
hour:1 minutes:0 seconds:0)
printStringFormat:'%(DayName), %(day)-%(ShortMonthName)-%(year) %h:%m:%s GMT'
printing
-
printOn: aStream
-
|