jsr370-experts@jax-rs-spec.java.net

match by host?

From: Bill Burke <bburke_at_redhat.com>
Date: Fri, 23 Jan 2015 09:45:25 -0500

On a project I'm on, one of our developers wants to match requests via
host. Its a security project and he wants to be able to offer host
names that specify the security realm:

i.e.

http://myrealm.auth-server.com


Could we add a @Host annotation maybe?

@Path("...")
@Host("{realm}.auth-server.com")


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com