Package net.officefloor.web.session.spi
Interface HttpSessionIdGenerator
-
- All Known Implementing Classes:
UuidHttpSessionIdGenerator
public interface HttpSessionIdGeneratorGenerates the
HttpSessionId.Typically a default
HttpSessionIdGeneratoris provided by theHttpSessionand this need not be provided. This interface however enables customising the generation of theHttpSessionId.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidgenerateSessionId(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-FreshHttpSessionto be populated with a new session Id.
-
-