GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Servlet::Http::HttpSessionBindingEvent(3) User Contributed Perl Documentation Servlet::Http::HttpSessionBindingEvent(3)

Servlet::Http::HttpSessionBindingEvent - session binding event class

  my $event =
      Servlet::Http::HttpSessionEvent->new($session, $attribute, $value);

  my $name = $event->getName();
  my $value = $event->getValue();

  my $session = $event->getSession();
  # or
  my $session = $event->getSource();

This class represents event notifications for changes to session attributes. The event is either sent to an object that implements Servlet::Http::HttpSessionBindingListener when it is bound or unbound from a session, or to a Servlet::Http::HttpSessionAttributesListener that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session.

new($session, $name, [$value])
Constructs an event that notifies an object that it has been bound to or unbound from a session. To receive the event, the object must implement Servlet::Http::HttpSessionBindingListener.

Parameters:

$session
the Servlet::Http::HttpSession instance to which the object is bound or unbound
$name
the name with which the object is bound or unbound
$object
the scalar or reference that is bound or unbound

getName()
Returns the name with which the object is bound to or unbound from the session.
getSession()
Returns the Servlet::Http::HttpSession that is the source of this event.
getSource()
Returns the Servlet::Http::HttpSession that is the source of this event.
getValue()
Returns the value of the attribute being added, removed or replaced. If the attribute was added (or bound), this is the value of the attribute. If the attribute was removed (or unbound), this is the value of the removed attribute. If the attribute was replaced, this is the old value of the attribute.

Servlet::Http::HttpSession, Servlet::Http::HttpSessionEvent, Servlet::Http::HttpSessionAttributesListener, Servlet::Http::HttpSessionBindingListener

Brian Moseley, bcm@maz.org
2001-07-13 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.