public static class SimpleUrlPattern.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SimpleUrlPattern |
build() |
SimpleUrlPattern.Builder |
copy(SimpleUrlPattern model) |
SimpleUrlPattern.Builder |
pattern(String pattern)
A string consisting of a concatenation of optional host component and optional path
component.
|
public SimpleUrlPattern.Builder pattern(String pattern)
A string consisting of a concatenation of optional host component and optional path
component. The host component may start with *.
to match the case-insensitive
domain and all its subdomains. The path component must start with a /
, and may
end with *
to match all paths of which it is a case-sensitive prefix. A missing
host component matches all request domains, and a missing path component matches all
request paths. An empty value matches all requests.
pattern
- the value to setpublic SimpleUrlPattern build()
public SimpleUrlPattern.Builder copy(SimpleUrlPattern model)
Copyright © 2016–2024. All rights reserved.