Java Reference
In-Depth Information
The
HttpSessionBindingEvent()
constructor initializes the object with the session acting as
the source of the event and the name of the object being bound or unbound.
HttpSessionBindingEvent()
returns no value and throws no exceptions.
It has two parameters:
•
HttpSession
•
java.lang.String
The
getName()
Method
public java.lang.String getName()
C
The
getName()
method returns the name of the object that is being bound or unbound.
getName()
has no parameters and throws no exceptions.
It returns this value:
•
java.lang.String
The
getSession()
Method
public HttpSession getSession()
The
getSession()
method returns the session from which the listener is being bound or
unbound.
getSession()
has no parameters and throws no exceptions.
It returns this value:
•
HttpSession
The
HttpUtils
Class
public class HttpUtils
extends java.util.EventObject
The
HttpUtils
class contains a collection of static utility methods that are useful to HTTP
servlets. The
HttpUtils
class has four methods, described in the following sections.
The
HttpUtils()
Method
public HttpUtils()
The
HttpUtils()
constructor creates an empty
HttpUtility
object.
HttpUtils()
has no para-
meters, returns no value, and throws no exceptions.
The
parseQueryString()
Method
public static java.util.Hashtable
parseQueryString(java.lang.String s)