object ResponsePredicate
- Alphabetic
- By Inheritance
- ResponsePredicate
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(asJava: ext.web.client.predicate.ResponsePredicate): ResponsePredicate
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
contentType(mimeTypes: Buffer[String]): ResponsePredicate
Creates a predicate validating the response has a
content-type
header matching one of themimeTypes
.Creates a predicate validating the response has a
content-type
header matching one of themimeTypes
. * @param mimeTypes the list of mime types -
def
contentType(mimeType: String): ResponsePredicate
Creates a predicate validating the response has a
content-type
header matching themimeType
.Creates a predicate validating the response has a
content-type
header matching themimeType
. * @param mimeType the mime type -
def
create(test: (HttpResponse[Unit]) ⇒ ResponsePredicateResult, errorConverter: ErrorConverter): ResponsePredicate
Creates a new io.vertx.scala.ext.web.client.predicate.ResponsePredicate, using a custom
errorConverter
.Creates a new io.vertx.scala.ext.web.client.predicate.ResponsePredicate, using a custom
errorConverter
. * @param test the function to invoke when the response is received- errorConverter
converts the result of the
test
function to a Throwable
-
def
create(test: (HttpResponse[Unit]) ⇒ ResponsePredicateResult): ResponsePredicate
Creates a new io.vertx.scala.ext.web.client.predicate.ResponsePredicate.
Creates a new io.vertx.scala.ext.web.client.predicate.ResponsePredicate. The default error converter will be used (discarding the body). * @param test the function to invoke when the response is received
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
status(min: Int, max: Int): ResponsePredicate
Creates a predicate asserting that the status response code is in the
[min,max[
range.Creates a predicate asserting that the status response code is in the
[min,max[
range. * @param min the lower (inclusive) accepted status code- max
the highest (exclusive) accepted status code
-
def
status(statusCode: Int): ResponsePredicate
Creates a predicate asserting that the status response code is equal to
statusCode
.Creates a predicate asserting that the status response code is equal to
statusCode
. * @param statusCode the expected status code -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )