public class WebResponseUtil extends Object
Constructor and Description |
---|
WebResponseUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
replaceResponseContentType(com.meterware.httpunit.WebResponse webResponse,
String contentType)
This method takes a given webResponse and replaces the content type with the one supplied.
|
public static boolean replaceResponseContentType(com.meterware.httpunit.WebResponse webResponse, String contentType)
webResponse
- The webResponse object returned by the request.contentType
- The new content type.Copyright © 2002-2015 Atlassian. All Rights Reserved.