Package net.officefloor.web.session.spi
Interface HttpSessionIdGenerator
-
- All Known Implementing Classes:
UuidHttpSessionIdGenerator
public interface HttpSessionIdGenerator
Generates the
HttpSession
Id.Typically a default
HttpSessionIdGenerator
is provided by theHttpSession
and this need not be provided. This interface however enables customising the generation of theHttpSession
Id.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
generateSessionId(FreshHttpSession session)
Generates the session Id.
-
-
-
Method Detail
-
generateSessionId
void generateSessionId(FreshHttpSession session)
Generates the session Id.
This method may return without the session Id being specified on the
FreshHttpSession
. In this case it is expected that the session Id will be populated some time in the near future.- Parameters:
session
-FreshHttpSession
to be populated with a new session Id.
-
-