Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.servlet.http
Interface HttpSessionBindingListener

public interface HttpSessionBindingListener
extends java.util.EventListener

This listener lets session values know when they've been added to or removed from a session. This particularly useful when a session value needs to free resources at the session end.

Method Summary
`void` | `valueBound(HttpSessionBindingEvent event)` Called when the object is added to a session.
`void` | `valueUnbound(HttpSessionBindingEvent event)` Called when the object is removed from a session or the session is invalidated.

Method Detail

### valueBound

    public void valueBound(HttpSessionBindingEvent event)

  Called when the object is added to a session.
  Parameters:
    `event` - session event object

### valueUnbound

    public void valueUnbound(HttpSessionBindingEvent event)

  Called when the object is removed from a session or the session is invalidated.
  Parameters:
    `event` - session event object

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD