The Response type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
ContainsHeader |
Determines whether this Response contains a particular HTTP
response header.
| |
Dispose | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Extract(List String , String) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning an empty string if they cannot be found.
| |
Extract(String, String) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found.
| |
Extract(List String , String, ActionType) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning an empty string if they cannot be found,
and specifying what action to take in case of failure.
| |
Extract(List String , String, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning an empty string if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
Extract(List String , String, String) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning the defaultValue if they cannot be found.
| |
Extract(String, String, ActionType) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found,
and specifying what action to take in case of failure.
| |
Extract(String, String, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
Extract(String, String, String) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning the defaultValue if they cannot be found.
| |
Extract(ExtractionCursor, List String , String) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning an empty string if they cannot be found.
| |
Extract(ExtractionCursor, String, String) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found.
| |
Extract(List String , String, ActionType, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning an empty string if they cannot be found,
specifying whether the search will be case-sensitive,
and what action to take in case of failure.
| |
Extract(List String , String, String, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning the defaultValue if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
Extract(String, String, ActionType, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found,
specifying whether the search will be case-sensitive,
and specifying what action to take in case of failure.
| |
Extract(String, String, String, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning the defaultValue if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
Extract(ExtractionCursor, List String , String, ActionType) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning an empty string if they cannot be found,
and specifying what action to take in case of failure.
| |
Extract(ExtractionCursor, List String , String, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning an empty string if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
Extract(ExtractionCursor, List String , String, String) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning the defaultValue if they cannot be found.
| |
Extract(ExtractionCursor, String, String, ActionType) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found,
and specifying what action to take in case of failure.
| |
Extract(ExtractionCursor, String, String, SearchFlags) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found.
| |
Extract(ExtractionCursor, String, String, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
Extract(ExtractionCursor, String, String, String) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning the defaultValue if they cannot be found.
| |
Extract(ExtractionCursor, List String , String, ActionType, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning an empty string if they cannot be found,
specifying whether the search will be case-sensitive,
and what action to take in case of failure.
| |
Extract(ExtractionCursor, List String , String, String, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified list of before and after string objects -
returning the defaultValue if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
Extract(ExtractionCursor, String, String, ActionType, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found,
specifying whether the search will be case-sensitive,
and specifying what action to take in case of failure.
| |
Extract(ExtractionCursor, String, String, SearchFlags, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning an empty string if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
Extract(ExtractionCursor, String, String, String, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified before and after string objects -
returning the defaultValue if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
ExtractForm(Int32) |
Extracts the nth HTML Form from the response content.
| |
ExtractForm(String) |
Extracts an HTML Form with the specified formName from the response content.
| |
ExtractForm(Int32, ActionType) |
Extracts the nth HTML Form from the response content,
and take the specified failAction if no matching form can be found.
| |
ExtractForm(String, ActionType) |
Extracts an HTML Form with the specified formName from the response content,
and take the specified failAction if no matching form can be found.
| |
ExtractForms |
Extracts all the HTML Form objects from the response content.
| |
ExtractFromEnd(List String , String) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(String, String) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(List String , String, ActionType) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(List String , String, Boolean) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(List String , String, String) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(String, String, ActionType) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(String, String, Boolean) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(String, String, String) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(List String , String, ActionType, Boolean) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(List String , String, Boolean, SearchFlags) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(List String , String, String, Boolean) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(String, String, ActionType, Boolean) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(String, String, Boolean, SearchFlags) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(String, String, String, Boolean) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String, ActionType) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String, Boolean) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String, String) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String, ActionType) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String, Boolean) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String, String) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
If either value cannot be found, the defaultValue will be returned.
| |
ExtractFromEnd(List String , String, ActionType, Boolean, SearchFlags) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(List String , String, String, Boolean, SearchFlags) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(String, String, ActionType, Boolean, SearchFlags) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(String, String, String, Boolean, SearchFlags) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String, ActionType, Boolean) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String, Boolean, SearchFlags) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String, String, Boolean) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String, ActionType, Boolean) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String, Boolean, SearchFlags) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String, String, Boolean) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
If either value cannot be found, the defaultValue will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String, ActionType, Boolean, SearchFlags) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, List String , String, String, Boolean, SearchFlags) |
Extracts text from the response content starting from the end. Everything between (but not including)
the specified list of after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String, ActionType, Boolean, SearchFlags) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
| |
ExtractFromEnd(ExtractionCursor, String, String, String, Boolean, SearchFlags) |
Extracts text from the response content, starting from the end. Everything between (but not including)
the specified after and before string objects will be returned.
If either value cannot be found, the defaultValue will be returned.
| |
ExtractList(String, String) |
Extracts a list of items from this Response.
| |
ExtractList(String, String, Boolean) |
Extracts a list of items from this Response,
specifying whether the search should be case-sensitive.
| |
ExtractList(ExtractionCursor, String, String) |
Extracts a list of items from this Response,
specifying whether the search should be case-sensitive,
and the maximum number of items to extract.
| |
ExtractList(String, String, Boolean, Int32) |
Extracts a list of items from this Response,
specifying whether the search should be case-sensitive,
and the maximum number of items to extract.
| |
ExtractList(ExtractionCursor, String, String, SearchFlags) |
Extracts a list of items from this Response.
| |
ExtractList(ExtractionCursor, String, String, String) |
Extracts a list of items from this Response,
specifying whether the search should be case-sensitive,
and the maximum number of items to extract.
| |
ExtractList(ExtractionCursor, String, String, SearchFlags, String) |
Extracts a list of items from this Response.
| |
ExtractList(ExtractionCursor, String, String, String, Boolean) |
Extracts a list of items from this Response,
specifying whether the search should be case-sensitive,
and the maximum number of items to extract.
| |
ExtractList(ExtractionCursor, String, String, SearchFlags, String, Boolean) |
Extracts a list of items from this Response.
| |
ExtractList(ExtractionCursor, String, String, String, Boolean, Int32) |
Extracts a list of items from this Response,
specifying whether the search should be case-sensitive,
and the maximum number of items to extract.
| |
ExtractList(ExtractionCursor, String, String, SearchFlags, String, Boolean, Int32) |
Extracts a list of items from this Response.
| |
ExtractRegExp(ExtractionCursor, String) |
Extracts multiple string objects from the response content,
wherever the specified regular expression matches.
| |
ExtractRegExp(ExtractionCursor, String, Boolean) |
Extracts multiple string objects from the response content,
wherever the specified regular expression matches,
and specifying whether the search will be case-sensitive.
| |
ExtractRegExp(ExtractionCursor, String, String, SearchFlags) |
Extracts text from the response content - everything between (but not including)
the specified beforeRegExp and afterRegExp string objects -
returning an empty string if they cannot be found.
| |
ExtractRegExp(ExtractionCursor, String, String, SearchFlags, Boolean) |
Extracts text from the response content - everything between (but not including)
the specified beforeRegExp and afterRegExp string objects -
returning an empty string if they cannot be found,
and specifying whether the search will be case-sensitive.
| |
ExtractXPath |
Returns a string object from the HTML or XML response content that matches the
given XPath expression.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find(ExtractionCursor, String) |
Finds the specified text within this Response.
| |
Find(ExtractionCursor, String, ActionType) |
Finds the specified text within this Response,
specifying what action to take in case of failure.
| |
Find(ExtractionCursor, String, Boolean) |
Finds the specified text within this Response,
specifying whether the search will be case-sensitive.
| |
Find(ExtractionCursor, String, ActionType, Boolean) |
Finds the specified text within this Response,
specifying whether the search will be case-sensitive,
and what action to take in case of failure.
| |
GetAnchor |
Gets the nth anchor in this Response.
| |
getCPtr |
For internal use only. Of no interest to the user.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHeaderValue(String) |
Gets the value of an HTTP response header contained in this Response.
| |
GetHeaderValue(String, Int32) |
Gets the value of the nth instance of an HTTP response header
contained in this Response.
| |
GetRedirectedFrom |
Gets the Response from which this Response has been redirected.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResetCharEncoding |
Resets the character encoding that is used to decode the data contained
in this Response. This will force the character encoding to be re-calculated, using
the methods described in SetCharEncoding(String).
| |
Rfind(ExtractionCursor, String) |
Finds the specified text within this Response,
starting from the end of the content.
| |
Rfind(ExtractionCursor, String, ActionType) |
Finds the specified text within this Response,
starting from the end of the content,
specifying what action to take in case of failure.
| |
Rfind(ExtractionCursor, String, Boolean) |
Finds the specified text within this Response,
starting from the end of the content,
and specifying whether the search will be case-sensitive.
| |
Rfind(ExtractionCursor, String, ActionType, Boolean) |
Finds the specified text within this Response,
starting from the end of the content,
specifying whether the search will be case-sensitive,
and what action to take in case of failure.
| |
SetCharEncoding |
Sets the character encoding that is used to decode the data contained
in this Response.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
VerifyContains(String) |
Determines whether the content of this Response contains the specified text.
| |
VerifyContains(String, ActionType) |
Determines whether the content of this Response contains the specified text,
specifying what action to take in case of failure.
| |
VerifyContains(String, Boolean) |
Determines whether the content of this Response contains the specified text,
specifying whether the search will be case-sensitive.
| |
VerifyContains(String, ActionType, Boolean) |
Determines whether the content of this Response contains the specified text,
specifying whether the search will be case-sensitive,
and what action to take in case of failure.
| |
VerifyResult(HttpStatus) |
Verify that the response code of this Response matches the specifed expectedResult | |
VerifyResult(HttpStatus, ActionType) |
Verify that the response code of this Response matches the specifed expectedResult,
and takes the specified action if it does not.
| |
VerifyTitle(String) |
Verifies that the title of this Response page matches the specified title.
| |
VerifyTitle(String, ActionType) |
Verifies that the title of this Response page matches the specified title,
and takes the specified action if it does not.
|
See Also