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 the
HttpSession and this need not be provided. This interface however
enables customising the generation of the HttpSession Id.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateSessionId(FreshHttpSession session) Generates the session Id.
-
Method Details
-
generateSessionId
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-FreshHttpSessionto be populated with a new session Id.
-