com.sun.jini.jeri.internal.http
Class Header.FieldKey

java.lang.Object
  extended by com.sun.jini.jeri.internal.http.Header.FieldKey
Enclosing class:
Header

private static class Header.FieldKey
extends Object

Field lookup key. Field name comparisons are case-insensitive; however, the original field name string is retained for use when writing the header to a stream.


Field Summary
private  int hash
           
(package private)  String name
           
 
Constructor Summary
Header.FieldKey(String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

final String name

hash

private final int hash
Constructor Detail

Header.FieldKey

Header.FieldKey(String name)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.