@Singleton @Requires(property="micronaut.session.http.cookie", notEquals="false") public class CookieHttpSessionIdGenerator extends Object
Constructor and Description |
---|
CookieHttpSessionIdGenerator(HttpSessionConfiguration configuration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
@NotNull String |
cookieValueFromSession(@NotNull Session session) |
String |
getPrefix() |
boolean |
isBase64Decode() |
@NotNull String |
sessionIdFromCookie(@NotNull Cookie cookie) |
public CookieHttpSessionIdGenerator(HttpSessionConfiguration configuration)
configuration
- The HTTP session configurationpublic boolean isBase64Decode()
public String getPrefix()
@NotNull public @NotNull String sessionIdFromCookie(@NotNull @NotNull Cookie cookie)
cookie
- A Cookie