From c79b0f4e2a55e853866c5201c0009dce547d5dfc Mon Sep 17 00:00:00 2001 From: Steve Bolton Date: Sat, 7 Apr 2018 14:42:47 -0400 Subject: [PATCH] Issue #1785 Update Javadoc Signed-off-by: Steve Bolton --- .../java/org/eclipse/jetty/server/handler/ContextHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java index c37b6be74d6..89f591f14fe 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java @@ -318,7 +318,8 @@ public class ContextHandler extends ScopedHandler implements Attributes, Gracefu * @param vhosts * Array of virtual hosts that this context responds to. A null host name or null/empty array means any hostname is acceptable. Host names may be * String representation of IP addresses. Host names may start with '*.' to wildcard one level of names. Hosts may start with '@', in which case they - * will match the {@link Connector#getName()} for the request. + * will match the {@link Connector#getName()} for the request. If a hostname or hostname wildcard is specified before '@' followed by a connector name, then both + * host and connector parts must match. */ public void setVirtualHosts(String[] vhosts) {