| java.lang.Object org.apache.catalina.connector.http.HttpHeader
HttpHeader | final class HttpHeader (Code) | | HTTP header enum type.
author: Remy Maucherat version: $Revision: 1.4 $ $Date: 2002/03/18 07:15:40 $ |
Method Summary | |
public boolean | equals(char[] buf) Test if the name of the header is equal to the given char array. | public boolean | equals(char[] buf, int end) Test if the name of the header is equal to the given char array. | public boolean | equals(String str) Test if the name of the header is equal to the given string. | public boolean | equals(HttpHeader header) Test if the name of the header is equal to the given header. | public boolean | equals(Object obj) | public int | hashCode() Return hash code. | public boolean | headerEquals(HttpHeader header) Test if the name and value of the header is equal to the given header. | public void | recycle() Release all object references, and initialize instance variables, in
preparation for reuse of this object. | public boolean | valueEquals(char[] buf) Test if the value of the header is equal to the given char array. | public boolean | valueEquals(char[] buf, int end) Test if the value of the header is equal to the given char array. | public boolean | valueEquals(String str) Test if the value of the header is equal to the given string. | public boolean | valueIncludes(char[] buf) Test if the value of the header includes the given char array. | public boolean | valueIncludes(char[] buf, int end) Test if the value of the header includes the given char array. | public boolean | valueIncludes(String str) Test if the value of the header includes the given string. | public int | valueIndexOf(char c, int start) Returns the index of a character in the value. |
INITIAL_NAME_SIZE | final public static int INITIAL_NAME_SIZE(Code) | | |
INITIAL_VALUE_SIZE | final public static int INITIAL_VALUE_SIZE(Code) | | |
MAX_NAME_SIZE | final public static int MAX_NAME_SIZE(Code) | | |
MAX_VALUE_SIZE | final public static int MAX_VALUE_SIZE(Code) | | |
hashCode | protected int hashCode(Code) | | |
nameEnd | public int nameEnd(Code) | | |
value | public char[] value(Code) | | |
valueEnd | public int valueEnd(Code) | | |
HttpHeader | public HttpHeader()(Code) | | |
HttpHeader | public HttpHeader(char[] name, int nameEnd, char[] value, int valueEnd)(Code) | | |
equals | public boolean equals(char[] buf)(Code) | | Test if the name of the header is equal to the given char array.
All the characters must already be lower case.
|
equals | public boolean equals(char[] buf, int end)(Code) | | Test if the name of the header is equal to the given char array.
All the characters must already be lower case.
|
equals | public boolean equals(String str)(Code) | | Test if the name of the header is equal to the given string.
The String given must be made of lower case characters.
|
equals | public boolean equals(HttpHeader header)(Code) | | Test if the name of the header is equal to the given header.
All the characters in the name must already be lower case.
|
hashCode | public int hashCode()(Code) | | Return hash code. The hash code of the HttpHeader object is the same
as returned by new String(name, 0, nameEnd).hashCode().
|
headerEquals | public boolean headerEquals(HttpHeader header)(Code) | | Test if the name and value of the header is equal to the given header.
All the characters in the name must already be lower case.
|
recycle | public void recycle()(Code) | | Release all object references, and initialize instance variables, in
preparation for reuse of this object.
|
valueEquals | public boolean valueEquals(char[] buf)(Code) | | Test if the value of the header is equal to the given char array.
|
valueEquals | public boolean valueEquals(char[] buf, int end)(Code) | | Test if the value of the header is equal to the given char array.
|
valueEquals | public boolean valueEquals(String str)(Code) | | Test if the value of the header is equal to the given string.
|
valueIncludes | public boolean valueIncludes(char[] buf)(Code) | | Test if the value of the header includes the given char array.
|
valueIncludes | public boolean valueIncludes(char[] buf, int end)(Code) | | Test if the value of the header includes the given char array.
|
valueIncludes | public boolean valueIncludes(String str)(Code) | | Test if the value of the header includes the given string.
|
valueIndexOf | public int valueIndexOf(char c, int start)(Code) | | Returns the index of a character in the value.
|
|
|