spring-framework / org.springframework.test.web.servlet.htmlunit / HostRequestMatcher / <init>

<init>

HostRequestMatcher(vararg hosts: String)

Create a new HostRequestMatcher for the given hosts — for example: "localhost", "example.com:443", etc.

Parameters

hosts - the hosts to match on