Package io.micronaut.session.http
Interface HttpSessionIdEncoder
- All Known Subinterfaces:
 HttpSessionIdStrategy
- All Known Implementing Classes:
 CookieHttpSessionStrategy,HeadersHttpSessionIdStrategy
public interface HttpSessionIdEncoder
Strategy interface for encoding 
Session IDs so they are represented in the response.- Since:
 - 1.0
 - Author:
 - Graeme Rocher
 
- 
Method Summary
 
- 
Method Details
- 
encodeId
void encodeId(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.MutableHttpResponse<?> response, Session session) Encode the given Session into the response. The strategy can choose to use headers, cookies or whatever strategy suites the use case.- Parameters:
 request- The requestresponse- The responsesession- The session
 
 -