org.jboss.solder.servlet.http
Interface HttpSessionStatus


public interface HttpSessionStatus

A helper bean that can be injected to check the status of the HttpSession and acquiring it

Author:
Nicklas Karlsson, Dan Allen

Method Summary
 javax.servlet.http.HttpSession get()
          Returns the current HttpSession associated with this request.
 boolean isActive()
          Checks whether there is an active HttpSession associated with the current request.
 

Method Detail

isActive

boolean isActive()
Checks whether there is an active HttpSession associated with the current request.

Returns:
Whether a valid session is associated with this request

get

javax.servlet.http.HttpSession get()
Returns the current HttpSession associated with this request. If a session is not associated with the current request, a new session is first initialized.

Returns:
HttpSession The existing session, or a new session if one has not yet been created


Copyright © 2008-2012 Seam Framework. All Rights Reserved.