
tech.harmonysoft.oss.http.server.mock.request.condition.AndDynamicRequestCondition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of harmonysoft-http-mock-server-test Show documentation
Show all versions of harmonysoft-http-mock-server-test Show documentation
Common general-purpose Kotlin utility
package tech.harmonysoft.oss.http.server.mock.request.condition
import org.mockserver.model.HttpRequest
data class AndDynamicRequestCondition(
val first: DynamicRequestCondition,
val second: DynamicRequestCondition
) : DynamicRequestCondition {
override fun matches(request: HttpRequest): Boolean {
return first.matches(request) && second.matches(request)
}
override fun toString(): String {
return "$first and $second"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy