Package net.officefloor.web.session.spi
Interface FreshHttpSession
public interface FreshHttpSession
Newly created
HttpSession requiring a session Id.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidfailedToGenerateSessionId(Throwable failure) Flags failure in generating theHttpSessionId.Obtains theServerHttpConnectionrequiring a newHttpSession.voidsetSessionId(String sessionId) Specifies the Id generated for theHttpSession.
-
Method Details
-
getConnection
ServerHttpConnection getConnection()Obtains the
ServerHttpConnectionrequiring a newHttpSession.Typically this should not be required to generate session Ids.
- Returns:
ServerHttpConnectionrequiring a newHttpSession.
-
setSessionId
Specifies the Id generated for theHttpSession.- Parameters:
sessionId- Id generated for theHttpSession.
-
failedToGenerateSessionId
Flags failure in generating theHttpSessionId.- Parameters:
failure- Failure in generating theHttpSessionId.
-