Java Reference
In-Depth Information
The
getHeader()
method returns the value of the requested header field found in the client
request.
getHeader()
throws no exceptions.
It has one parameter:
•
java.lang.String
It returns this value:
•
java.lang.String
The
getHeaders()
Method
public Enumeration getHeaders(java.lang.String name)
The
getHeaders()
method returns an enumeration of strings containing all of the values for
the given header.
getHeaders()
throws no exceptions.
It has one parameter:
•
java.lang.String
It returns this value:
•
Enumeration
The
getHeaderNames()
Method
public Enumeration getHeaderNames()
The
getHeaderNames()
method returns an enumeration containing all of the header names
found in the client request.
getHeaderNames()
has no parameters and throws no exceptions.
It returns this value:
•
Enumeration
The
getIntHeader()
Method
public int getIntHeader(java.lang.String name)
The
getIntHeader()
method returns the
int
value of the named header field found in the
client request.
getIntHeader()
throws no exceptions.
It has one parameter:
•
java.lang.String
It returns this value:
•
int