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

Quick Search    Search Deep

com.meterware.httpunit
Class WebClient.HeaderDictionary  view WebClient.HeaderDictionary download WebClient.HeaderDictionary.java

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended bycom.meterware.httpunit.WebClient.HeaderDictionary
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Enclosing class:
WebClient

public static class WebClient.HeaderDictionary
extends java.util.Hashtable


Nested Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from class java.util.Hashtable
 
Constructor Summary
WebClient.HeaderDictionary()
           
 
Method Summary
 void addEntries(java.util.Dictionary source)
           
 boolean containsKey(java.lang.Object key)
          Returns true if the supplied object equals() a key in this Hashtable.
 java.lang.Object get(java.lang.Object fieldName)
          Return the value in this Hashtable associated with the supplied key, or null if the key maps to nothing.
private  java.lang.String matchPreviousFieldName(java.lang.String fieldName)
          If a matching field name with different case is already known, returns the older name.
 java.lang.Object put(java.lang.Object fieldName, java.lang.Object fieldValue)
          Puts the supplied value into the Map, mapped by the supplied key.
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebClient.HeaderDictionary

public WebClient.HeaderDictionary()
Method Detail

addEntries

public void addEntries(java.util.Dictionary source)

containsKey

public boolean containsKey(java.lang.Object key)
Description copied from class: java.util.Hashtable
Returns true if the supplied object equals() a key in this Hashtable.


get

public java.lang.Object get(java.lang.Object fieldName)
Description copied from class: java.util.Hashtable
Return the value in this Hashtable associated with the supplied key, or null if the key maps to nothing.


put

public java.lang.Object put(java.lang.Object fieldName,
                            java.lang.Object fieldValue)
Description copied from class: java.util.Hashtable
Puts the supplied value into the Map, mapped by the supplied key. Neither parameter may be null. The value may be retrieved by any object which equals() this key.


matchPreviousFieldName

private java.lang.String matchPreviousFieldName(java.lang.String fieldName)
If a matching field name with different case is already known, returns the older name. Otherwise, returns the specified name.