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


Manual Reference Pages  -  SERVLET::HTTP::HTTPSESSIONBINDINGEVENT (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



  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();



DESCRIPTION

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

CONSTRUCTOR

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 <B>Servlet::Http::HttpSessionBindingListenerB>.

<B>Parameters:B>
$session the <B>Servlet::Http::HttpSessionB> 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

METHODS

getName() Returns the name with which the object is bound to or unbound from the session.
getSession() Returns the <B>Servlet::Http::HttpSessionB> that is the source of this event.
getSource() Returns the <B>Servlet::Http::HttpSessionB> 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.

SEE ALSO

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

AUTHOR

Brian Moseley, bcm@maz.org
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SERVLET::HTTP::HTTPSESSIONBINDINGEVENT (3) 2001-07-13

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