Issue #4722 - changes from review
- Fix packages exposed in the websocket configuration - Make servlet dependency for websocket-util optional Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
5199e78587
commit
213e157f42
|
@ -40,6 +40,7 @@ public class JavaxWebSocketConfiguration extends AbstractConfiguration
|
|||
protectAndExpose("org.eclipse.jetty.websocket.util.server."); // For WebSocketUpgradeFilter
|
||||
protectAndExpose("org.eclipse.jetty.websocket.javax.server.config.");
|
||||
protectAndExpose("org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider");
|
||||
hide("org.eclipse.jetty.websocket.javax.server.internal");
|
||||
hide("org.eclipse.jetty.websocket.javax.server.internal.",
|
||||
"org.eclipse.jetty.websocket.util.server.internal.");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,10 +58,12 @@ public class JettyWebSocketConfiguration extends AbstractConfiguration
|
|||
|
||||
protectAndExpose(
|
||||
"org.eclipse.jetty.websocket.api.",
|
||||
"org.eclipse.jetty.websocket.server.");
|
||||
"org.eclipse.jetty.websocket.server.",
|
||||
"org.eclipse.jetty.websocket.util.server."); // For WebSocketUpgradeFilter
|
||||
|
||||
hide("org.eclipse.jetty.server.internal.",
|
||||
"org.eclipse.jetty.server.config.");
|
||||
"org.eclipse.jetty.server.config.",
|
||||
"org.eclipse.jetty.websocket.util.server.internal.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-servlet</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
|
|
Loading…
Reference in New Issue