Methods Summary |
---|
public javax.servlet.http.Cookie[] | getCookies()Return an array of all cookies set for this response, or
a zero-length array if no cookies have been set.
|
public java.lang.String | getHeader(java.lang.String name)Return the value for the specified header, or null if this
header has not been set. If more than one value was added for this
name, only the first is returned; use getHeaderValues() to retrieve all
of them.
|
public java.lang.String[] | getHeaderNames()Return an array of all the header names set for this response, or
a zero-length array if no headers have been set.
|
public java.lang.String[] | getHeaderValues(java.lang.String name)Return an array of all the header values associated with the
specified header name, or an zero-length array if there are no such
header values.
|
public java.lang.String | getMessage()Return the error message that was set with sendError()
for this Response.
|
public int | getStatus()Return the HTTP status code associated with this Response.
|
public void | reset(int status, java.lang.String message)Reset this response, and specify the values for the HTTP status code
and corresponding message.
|