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

Quick Search    Search Deep

com.tripi.asp
Class Request.CookiesObj.CookieValue  view Request.CookiesObj.CookieValue download Request.CookiesObj.CookieValue.java

java.lang.Object
  extended bycom.tripi.asp.Request.CookiesObj.CookieValue
All Implemented Interfaces:
SimpleMap, SimpleReference
Enclosing class:
Request.CookiesObj

static class Request.CookiesObj.CookieValue
extends java.lang.Object
implements SimpleReference, SimpleMap

CookieValue class contains methods and functions related to the value of a cookie.


Field Summary
(package private)  java.util.Hashtable cookieValues
          Hashtable of values in this cookie
(package private)  java.lang.String valuesAsString
          String containing the entire list of values
 
Constructor Summary
(package private) Request.CookiesObj.CookieValue()
          Constructor.
(package private) Request.CookiesObj.CookieValue(javax.servlet.http.Cookie cookie)
          Constructor from a cookie object.
 
Method Summary
 java.lang.Object get(java.lang.Object value)
          Obtains a specific index in this array of values.
 java.util.Enumeration getKeys()
          Obtains the list of values in this Request.Form(x) array.
 java.lang.Object getValue()
          Obtains the entire value array
 void put(java.lang.Object key, java.lang.Object value)
          Stores a value.
 void setValue(java.lang.Object obj)
          Sets the value of this value array.
 java.lang.String toString()
          Converts this value array to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cookieValues

java.util.Hashtable cookieValues
Hashtable of values in this cookie


valuesAsString

java.lang.String valuesAsString
String containing the entire list of values

Constructor Detail

Request.CookiesObj.CookieValue

Request.CookiesObj.CookieValue()
Constructor. FormValue is initally created with no values.


Request.CookiesObj.CookieValue

Request.CookiesObj.CookieValue(javax.servlet.http.Cookie cookie)
Constructor from a cookie object.

Method Detail

get

public java.lang.Object get(java.lang.Object value)
                     throws AspException
Obtains a specific index in this array of values.

Specified by:
get in interface SimpleMap

put

public void put(java.lang.Object key,
                java.lang.Object value)
         throws AspException
Stores a value. This method always returned an AspReadOnlyException because Request.Form values are read-only.

Specified by:
put in interface SimpleMap

getKeys

public java.util.Enumeration getKeys()
                              throws AspException
Obtains the list of values in this Request.Form(x) array.

Specified by:
getKeys in interface SimpleMap

getValue

public java.lang.Object getValue()
                          throws AspException
Obtains the entire value array

Specified by:
getValue in interface SimpleReference

setValue

public void setValue(java.lang.Object obj)
              throws AspException
Sets the value of this value array. Always throws AspReadOnlyException because this array is read-only.

Specified by:
setValue in interface SimpleReference

toString

public java.lang.String toString()
Converts this value array to a string. For debugging only.