| java.lang.Object com.meterware.httpunit.WebResponse com.meterware.servletunit.ServletUnitWebResponse
ServletUnitWebResponse | class ServletUnitWebResponse extends WebResponse (Code) | | A response from to a request from the simulated servlet environment.
|
ServletUnitWebResponse | ServletUnitWebResponse(ServletUnitClient client, FrameSelector frame, URL url, HttpServletResponse response, boolean throwExceptionOnError) throws IOException(Code) | | Constructs a response object from a servlet response.
Parameters: frame - the target frame on which the response will be displayed Parameters: url - the url from which the response was received Parameters: response - the response populated by the servlet |
ServletUnitWebResponse | ServletUnitWebResponse(ServletUnitClient client, FrameSelector frame, URL url, HttpServletResponse response) throws IOException(Code) | | Constructs a response object from a servlet response.
Parameters: frame - the target frame on which the response will be displayed Parameters: url - the url from which the response was received Parameters: response - the response populated by the servlet |
getHeaderField | public String getHeaderField(String fieldName)(Code) | | Returns the value for the specified header field. If no such field is defined, will return null.
|
getHeaderFieldNames | public String[] getHeaderFieldNames()(Code) | | |
getResponseCode | public int getResponseCode()(Code) | | Returns the response code associated with this response.
|
getResponseMessage | public String getResponseMessage()(Code) | | Returns the response message associated with this response.
|
|
|