Class: ResponsePredicateResult

vertx-web-client-js/response_predicate_result~ ResponsePredicateResult

new ResponsePredicateResult()

Source:

Methods

message() → {string}

The failure message. May be null.
Source:
Returns:
Type
string

response() → {HttpResponse}

The which has been tested.
Source:
Returns:
null after the result has been created, or the tested response for converters created with ErrorConverter#createFullBody
Type
HttpResponse

succeeded() → {boolean}

Whether the result is a success or failure.
Source:
Returns:
true if the ResponsePredicate was applied successfully, false otherwise
Type
boolean