Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class Request.ServerVariablesObj  view Request.ServerVariablesObj download Request.ServerVariablesObj.java

java.lang.Object
  extended bycom.tripi.asp.Request.ServerVariablesObj
All Implemented Interfaces:
SimpleMap
Enclosing class:
Request

public static class Request.ServerVariablesObj
extends java.lang.Object
implements SimpleMap

The ServerVariablesObj implemnets the Request.ServerVariables object, containing a list of server variables.


Nested Class Summary
(package private)  class Request.ServerVariablesObj.ServerVariablesContents
          This class handles the Contents varable, which is not defined until it is first accessed.
 
Field Summary
 AspCollection Contents
          Reference to the collection object
(package private)  javax.servlet.http.HttpServletRequest req
          HTTP Servlet Request object
 
Constructor Summary
(package private) Request.ServerVariablesObj(javax.servlet.http.HttpServletRequest req)
          Constructor.
 
Method Summary
 java.lang.Object get(java.lang.Object obj)
          Obtain the value of a server variable.
 java.util.Enumeration getKeys()
          Obtains the keys of objects stored in this object.
 void put(java.lang.Object key, java.lang.Object value)
          Stores a value with a specified key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Contents

public AspCollection Contents
Reference to the collection object


req

javax.servlet.http.HttpServletRequest req
HTTP Servlet Request object

Constructor Detail

Request.ServerVariablesObj

Request.ServerVariablesObj(javax.servlet.http.HttpServletRequest req)
Constructor.

Method Detail

get

public java.lang.Object get(java.lang.Object obj)
                     throws AspException
Obtain the value of a server variable.

Specified by:
get in interface SimpleMap

put

public void put(java.lang.Object key,
                java.lang.Object value)
         throws AspException
Stores a value with a specified key. ServerVariables are read-only so this method always throws an AspReadOnlyException error.

Specified by:
put in interface SimpleMap

getKeys

public java.util.Enumeration getKeys()
                              throws AspException
Obtains the keys of objects stored in this object.

Specified by:
getKeys in interface SimpleMap