Interface LogicalSessionExtractor


  • public interface LogicalSessionExtractor
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      LogicalSession extract​(javax.servlet.http.HttpServletRequest httpServletRequest)
      Returns a logical session implementation based on the information extracted from the current HTTP request or null if that was not possible
      LogicalSession extractOrCreate​(javax.servlet.http.HttpServletRequest httpServletRequest)
      Returns a logical session implementation based on the information extracted from the current HTTP request or creates a new one
    • Method Detail

      • extract

        LogicalSession extract​(javax.servlet.http.HttpServletRequest httpServletRequest)
        Returns a logical session implementation based on the information extracted from the current HTTP request or null if that was not possible
        Parameters:
        httpServletRequest - current request
        Returns:
        a logical session created based on the current request or null if that was not possible
      • extractOrCreate

        LogicalSession extractOrCreate​(javax.servlet.http.HttpServletRequest httpServletRequest)
        Returns a logical session implementation based on the information extracted from the current HTTP request or creates a new one
        Parameters:
        httpServletRequest - current request
        Returns:
        logical session implementation based on the information extracted from the current HTTP request or creates a new one