Polish doc

This commit is contained in:
Rob Winch
2015-01-05 16:13:18 -06:00
parent 79569f5a6f
commit 8acaed750a

View File

@@ -74,11 +74,11 @@ include::guides/httpsession.adoc[tags=config,leveloffset=+1]
[[httpsession-how]]
== How HttpSession Integration Works
This section describes how Spring Session provides transparent integration with `HttpSession`. The intent is so that user's can understand what is happening under the covers. This functionality is already integrated and you do NOT need to implement this logic yourself.
Fortunately both `HttpSession` and `HttpServletRequest` (the API for obtaining an `HttpSession`) are both interfaces.
This means that we can provide our own implementations for each of these APIs.
NOTE: This section describes how Spring Session provides transparent integration with `HttpSession`. The intent is so that user's can understand what is happening under the covers. This functionality is already integrated and you do NOT need to implement this logic yourself.
First we create a custom `HttpServletRequest` that returns a custom implementation of `HttpSession'.
It looks something like the following: