Package-level declarations

Functions

Link copied to clipboard
fun hasAuthority(expected: String): Matcher<Uri>
Link copied to clipboard
@JvmName(name = "hasBodyNullableString")
fun hasBody(expected: Matcher<String?>): Matcher<HttpMessage>
@JvmName(name = "hasBodyString")
fun hasBody(expected: Matcher<String>): Matcher<HttpMessage>
fun hasBody(expected: Matcher<Body>): Matcher<HttpMessage>
fun hasBody(expected: CharSequence): Matcher<HttpMessage>
fun hasBody(expected: Regex): Matcher<HttpMessage>
fun <T> hasBody(lens: BodyLens<T>, matcher: Matcher<T>): Matcher<HttpMessage>
Link copied to clipboard
fun <NODE> Json<NODE>.hasBody(expected: NODE): Matcher<HttpMessage>
fun <NODE> Json<NODE>.hasBody(expected: Matcher<NODE>): Matcher<HttpMessage>
fun <NODE> Json<NODE>.hasBody(expected: String): Matcher<HttpMessage>
Link copied to clipboard
fun hasContentType(expected: ContentType): Matcher<HttpMessage>
Link copied to clipboard
fun hasCookie(expected: Cookie): Matcher<Request>
fun hasCookie(name: String, matcher: Matcher<Cookie>): Matcher<Request>
fun hasCookie(name: String, expected: String): Matcher<Request>
fun hasCookie(name: String, expected: Regex): Matcher<Request>
Link copied to clipboard
fun hasCookieDomain(expected: CharSequence): Matcher<Cookie>
Link copied to clipboard
fun hasCookieExpiry(matcher: Matcher<Instant>): Matcher<Cookie>
fun hasCookieExpiry(expected: Instant): Matcher<Cookie>
Link copied to clipboard
fun hasCookieName(expected: CharSequence): Matcher<Cookie>
Link copied to clipboard
fun hasCookiePath(expected: CharSequence): Matcher<Cookie>
Link copied to clipboard
fun hasCookieSameSite(expected: SameSite): Matcher<Cookie>
Link copied to clipboard
@JvmName(name = "hasCookieValueNullableString")
fun hasCookieValue(matcher: Matcher<String?>): Matcher<Cookie>
fun hasCookieValue(matcher: Matcher<String>): Matcher<Cookie>
fun hasCookieValue(expected: CharSequence): Matcher<Cookie>
Link copied to clipboard
@JvmName(name = "hasFormNullableString")
fun hasForm(name: String, matcher: Matcher<String?>): Matcher<Request>
fun hasForm(name: String, matcher: Matcher<String>): Matcher<Request>
fun hasForm(name: String, expected: CharSequence): Matcher<Request>
fun hasForm(name: String, expected: Regex): Matcher<Request>
Link copied to clipboard
fun <T> hasFormField(lens: Lens<WebForm, T>, matcher: Matcher<T>): Matcher<WebForm>
Link copied to clipboard
fun hasHeader(name: String): Matcher<HttpMessage>
@JvmName(name = "hasBodyNullableString")
fun hasHeader(name: String, matcher: Matcher<String?>): Matcher<HttpMessage>
fun hasHeader(name: String, matcher: Matcher<String>): Matcher<HttpMessage>
fun hasHeader(name: String, expected: CharSequence): Matcher<HttpMessage>
fun hasHeader(name: String, expected: List<String?>): Matcher<HttpMessage>
fun hasHeader(name: String, expected: Regex): Matcher<HttpMessage>
fun <T> hasHeader(lens: HeaderLens<T>, matcher: Matcher<T>): Matcher<HttpMessage>
Link copied to clipboard
fun hasHost(expected: String): Matcher<Uri>
Link copied to clipboard
fun hasMethod(expected: Method): Matcher<Request>
Link copied to clipboard
fun hasPort(expected: Int): Matcher<Uri>
Link copied to clipboard
@JvmName(name = "hasQueryNullableString")
fun hasQuery(name: String, matcher: Matcher<String?>): Matcher<Request>
fun hasQuery(name: String, matcher: Matcher<String>): Matcher<Request>
fun hasQuery(name: String, expected: CharSequence): Matcher<Request>
fun hasQuery(name: String, expected: List<String?>): Matcher<Request>
fun hasQuery(name: String, expected: Regex): Matcher<Request>
fun <T> hasQuery(lens: QueryLens<T>, matcher: Matcher<T>): Matcher<Request>
Link copied to clipboard
fun hasRequest(matcher: Matcher<Request>): Matcher<HttpTransaction>
Link copied to clipboard
fun hasResponse(matcher: Matcher<Response>): Matcher<HttpTransaction>
Link copied to clipboard
fun hasSetCookie(expected: Cookie): Matcher<Response>
fun hasSetCookie(name: String, expected: Matcher<Cookie>): Matcher<Response>
Link copied to clipboard
fun hasStatus(expected: Status): Matcher<Response>
Link copied to clipboard
fun hasStatusDescription(expected: String): Matcher<Response>
Link copied to clipboard
fun hasUri(expected: Matcher<Uri>): Matcher<Request>
fun hasUri(expected: String): Matcher<Request>
fun hasUri(expected: Regex): Matcher<Request>
fun hasUri(expected: Uri): Matcher<Request>
Link copied to clipboard
fun hasUriPath(matcher: Matcher<String?>): Matcher<Uri>
fun hasUriPath(expected: String): Matcher<Uri>
fun hasUriPath(expected: Regex): Matcher<Uri>
Link copied to clipboard
fun hasUriQuery(expected: String): Matcher<Uri>
Link copied to clipboard
fun isHttpOnlyCookie(expected: Boolean = true): Matcher<Cookie>
Link copied to clipboard
fun isSecureCookie(expected: Boolean = true): Matcher<Cookie>