Java Reference
In-Depth Information
The getAuthType() Method
public java.lang.String getAuthType()
The getAuthType() method returns the authentication scheme used in this request. It is the
same as the AUTH_TYPE CGI variable. getAuthType() has no parameters and throws no excep-
tions.
It returns this value:
java.lang.String
C
The getContextPath() Method
public java.lang.String getContextPath()
The getContextPath() method returns the context path of this request. getContextPath() has
no parameters and throws no exceptions.
It returns this value:
java.lang.String
The getCookies() Method
public Cookie[] getCookies()
The getCookies() method returns an array of Cookie objects found in the client request.
getCookies() has no parameters and throws no exceptions.
It returns this value:
Cookie[]
The getDateHeader() Method
public long getDateHeader(java.lang.String name)
The getDateHeader() method returns the value of the requested date header field found in the
client request. getDateHeader() throws no exceptions.
It has one parameter:
java.lang.String
It returns this value:
long
The getHeader() Method
public java.lang.String getHeader(java.lang.String name)
 
Search WWH ::




Custom Search