public abstract class HttpOriginMatcher extends HttpOriginMatcher
Modifier and Type | Class and Description |
---|---|
static class |
HttpOriginMatcher.$times$ |
static class |
HttpOriginMatcher.Default |
static class |
HttpOriginMatcher.Default$ |
static class |
HttpOriginMatcher.Strict |
static class |
HttpOriginMatcher.Strict$ |
ALL
Constructor and Description |
---|
HttpOriginMatcher() |
Modifier and Type | Method and Description |
---|---|
static HttpOriginMatcher |
apply(scala.collection.immutable.Seq<HttpOrigin> origins)
Build a matcher that will accept any of the given origins.
|
abstract boolean |
matches(HttpOrigin origin) |
boolean |
matches(HttpOrigin origin)
Java API
|
static HttpOriginMatcher |
strict(scala.collection.immutable.Seq<HttpOrigin> origins)
Build a matcher that will accept any of the given origins.
|
create, strict
public static HttpOriginMatcher strict(scala.collection.immutable.Seq<HttpOrigin> origins)
origins
- (undocumented)public static HttpOriginMatcher apply(scala.collection.immutable.Seq<HttpOrigin> origins)
*.
will match any sub-domain.
The scheme and the port are always strictly matched.origins
- (undocumented)public abstract boolean matches(HttpOrigin origin)
public boolean matches(HttpOrigin origin)
matches
in class HttpOriginMatcher