Package net.officefloor.web.session.spi
Interface FreshHttpSession
-
public interface FreshHttpSession
Newly createdHttpSession
requiring a session Id.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
failedToGenerateSessionId(java.lang.Throwable failure)
Flags failure in generating theHttpSession
Id.ServerHttpConnection
getConnection()
Obtains theServerHttpConnection
requiring a newHttpSession
.void
setSessionId(java.lang.String sessionId)
Specifies the Id generated for theHttpSession
.
-
-
-
Method Detail
-
getConnection
ServerHttpConnection getConnection()
Obtains the
ServerHttpConnection
requiring a newHttpSession
.Typically this should not be required to generate session Ids.
- Returns:
ServerHttpConnection
requiring a newHttpSession
.
-
setSessionId
void setSessionId(java.lang.String sessionId)
Specifies the Id generated for theHttpSession
.- Parameters:
sessionId
- Id generated for theHttpSession
.
-
failedToGenerateSessionId
void failedToGenerateSessionId(java.lang.Throwable failure)
Flags failure in generating theHttpSession
Id.- Parameters:
failure
- Failure in generating theHttpSession
Id.
-
-