Interface WingsCookieInterceptor
-
- All Implemented Interfaces:
public interface WingsCookieInterceptor- Since:
2021-10-08
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWingsCookieInterceptor.Coder
-
Method Summary
Modifier and Type Method Description abstract booleannotIntercept()Whether no Intercept for cookies, true when short-circuit processing, can turn off the intercept function abstract Cookieread(Cookie cookie)Convert to new cookie on read, return `null` means discard it abstract Cookiewrite(Cookie cookie)Convert to new cookie on write, return `null` means discard it -
-
Method Detail
-
notIntercept
abstract boolean notIntercept()
Whether no Intercept for cookies, true when short-circuit processing, can turn off the intercept function
-
read
abstract Cookie read(Cookie cookie)
Convert to new cookie on read, return `null` means discard it
- Parameters:
cookie- original cookie- Returns:
new / original / null
-
write
abstract Cookie write(Cookie cookie)
Convert to new cookie on write, return `null` means discard it
- Parameters:
cookie- original cookie- Returns:
new / original / null
-
-
-
-