| java.lang.Object com.gargoylesoftware.htmlunit.WebResponseImpl com.gargoylesoftware.htmlunit.StringWebResponse
StringWebResponse | public class StringWebResponse extends WebResponseImpl (Code) | | A simple WebResponse created from a string. Content is assumed to be
of type text/html.
version: $Revision: 2132 $ author: Mike Bowler author: Marc Guillemot author: Brad Clarke author: Ahmed Ashour |
StringWebResponse | public StringWebResponse(String content)(Code) | | Create an instance.
Parameters: content - The content to return. |
StringWebResponse | public StringWebResponse(String content, String charset)(Code) | | Create an instance.
Parameters: content - The content to return. Parameters: charset - The charset used to convert the content. |
StringWebResponse | public StringWebResponse(String content, URL originatingURL)(Code) | | Create an instance associated with an originating URL
Parameters: content - The content to return. Parameters: originatingURL - The url that this should be associated with |
StringWebResponse | public StringWebResponse(String content, String charset, URL originatingURL)(Code) | | Create an instance associated with an originating URL
Parameters: content - The content to return. Parameters: charset - The charset used to convert the content. Parameters: originatingURL - The url that this should be associated with |
|
|