HttpSessionAttributeListener (Java Card API, Connected Edition)
Date: 2009-12-11

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

## javax.servlet.http
Interface HttpSessionAttributeListener

All Superinterfaces:
  EventListener

    @TransactionType(value=NOT_SUPPORTED)
    public interface HttpSessionAttributeListener

extends EventListener

This listener interface can be implemented in order to get notifications of changes to the attribute lists of sessions within this web application.

Since:
  Servlet 2.3, Java Card 3.0

Method Summary
`void` | `attributeAdded(HttpSessionBindingEvent se)` Notification that an attribute has been added to a session.
`void` | `attributeRemoved(HttpSessionBindingEvent se)` Notification that an attribute has been removed from a session.
`void` | `attributeReplaced(HttpSessionBindingEvent se)` Notification that an attribute has been replaced in a session.

Method Detail

### attributeAdded

    void attributeAdded(HttpSessionBindingEvent se)

  Notification that an attribute has been added to a session. Called after the attribute is added.

### attributeRemoved

    void attributeRemoved(HttpSessionBindingEvent se)

  Notification that an attribute has been removed from a session. Called after the attribute is removed.

### attributeReplaced

    void attributeReplaced(HttpSessionBindingEvent se)

  Notification that an attribute has been replaced in a session. Called after the attribute is replaced.

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

Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.