All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.harmonysoft.oss.http.server.mock.request.condition.AndDynamicRequestCondition.kt Maven / Gradle / Ivy

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