Interface HttpSessionIdGenerator

All Known Implementing Classes:
UuidHttpSessionIdGenerator

public interface HttpSessionIdGenerator

Generates the HttpSession Id.

Typically a default HttpSessionIdGenerator is provided by the HttpSession and this need not be provided. This interface however enables customising the generation of the HttpSession Id.

Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Generates the session Id.
  • Method Details

    • 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 - FreshHttpSession to be populated with a new session Id.