users@jax-rs-spec.java.net

[jax-rs-spec users] Re: match by host?

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Fri, 23 Jan 2015 10:41:14 -0500

> On Jan 23, 2015, at 9:59 AM, Bill Burke <bburke_at_redhat.com> wrote:
>
> Bah, probably not a good example. But I could see something useful like this:
>
> @Host("sso.{wildcard:.*}")
> @Path("/")
> public class SSOResource {}
>
> @Host("admin.{wildcard:.*}")
> @Path("/")
> public class AdminResource {}

 Not sure I follow. Is this matching the host in the request URL?

— Santiago