This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • How do I let Jetty match wildcards
Skip to end of metadata
Go to start of metadata

How do I let Jetty match wildcards

By default Jetty will only match on exact uri's. But you can instruct Jetty to match prefixes. For example


In the route above Jetty will only match if the uri is an exact match, so it will match if you enter but not match if you do

So if you want to enable wildcard matching you do as follows:


So now Jetty matches any endpoints with starts with foo.

To match any endpoint you can do:

  • No labels