| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_92) on Thu Jun 07 14:26:32 EDT 2018 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>NativeWebSocketConfiguration (Jetty :: Project 9.3.24.v20180605 API)</title> |
| <meta name="date" content="2018-06-07"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="NativeWebSocketConfiguration (Jetty :: Project 9.3.24.v20180605 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":42,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/NativeWebSocketConfiguration.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketServletContainerInitializer.html" title="class in org.eclipse.jetty.websocket.server"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html" target="_top">Frames</a></li> |
| <li><a href="NativeWebSocketConfiguration.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">Nested</a> | </li> |
| <li><a href="#fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.jetty.websocket.server</div> |
| <h2 title="Class NativeWebSocketConfiguration" class="title">Class NativeWebSocketConfiguration</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.ContainerLifeCycle</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.websocket.server.NativeWebSocketConfiguration</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/eclipse/jetty/util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a>, <a href="../../../../../org/eclipse/jetty/util/component/Destroyable.html" title="interface in org.eclipse.jetty.util.component">Destroyable</a>, <a href="../../../../../org/eclipse/jetty/util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a>, <a href="../../../../../org/eclipse/jetty/util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a>, <a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server">MappedWebSocketCreator</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">NativeWebSocketConfiguration</span> |
| extends <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a> |
| implements <a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server">MappedWebSocketCreator</a>, <a href="../../../../../org/eclipse/jetty/util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></pre> |
| <div class="block">Interface for Configuring Jetty Server Native WebSockets |
| <p> |
| Only applicable if using <a href="../../../../../org/eclipse/jetty/websocket/server/WebSocketUpgradeFilter.html" title="class in org.eclipse.jetty.websocket.server"><code>WebSocketUpgradeFilter</code></a> |
| </p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.<a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Container"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../../../../../org/eclipse/jetty/util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3> |
| <code><a href="../../../../../org/eclipse/jetty/util/component/Container.InheritedListener.html" title="interface in org.eclipse.jetty.util.component">Container.InheritedListener</a>, <a href="../../../../../org/eclipse/jetty/util/component/Container.Listener.html" title="interface in org.eclipse.jetty.util.component">Container.Listener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../../../../../org/eclipse/jetty/util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3> |
| <code><a href="../../../../../org/eclipse/jetty/util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.util.component.<a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#FAILED">FAILED</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#RUNNING">RUNNING</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STOP_ON_FAILURE">STOP_ON_FAILURE</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#NativeWebSocketConfiguration-javax.servlet.ServletContext-">NativeWebSocketConfiguration</a></span>(javax.servlet.ServletContext context)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#NativeWebSocketConfiguration-org.eclipse.jetty.websocket.server.WebSocketServerFactory-">NativeWebSocketConfiguration</a></span>(<a href="../../../../../org/eclipse/jetty/websocket/server/WebSocketServerFactory.html" title="class in org.eclipse.jetty.websocket.server">WebSocketServerFactory</a> webSocketServerFactory)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#addMapping-org.eclipse.jetty.http.pathmap.PathSpec-java.lang.Class-">addMapping</a></span>(<a href="../../../../../org/eclipse/jetty/http/pathmap/PathSpec.html" title="class in org.eclipse.jetty.http.pathmap">PathSpec</a> pathSpec, |
| java.lang.Class<?> endpointClass)</code> |
| <div class="block">Manually add a WebSocket mapping.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#addMapping-org.eclipse.jetty.http.pathmap.PathSpec-org.eclipse.jetty.websocket.servlet.WebSocketCreator-">addMapping</a></span>(<a href="../../../../../org/eclipse/jetty/http/pathmap/PathSpec.html" title="class in org.eclipse.jetty.http.pathmap">PathSpec</a> pathSpec, |
| <a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a> creator)</code> |
| <div class="block">Manually add a WebSocket mapping.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#addMapping-org.eclipse.jetty.websocket.server.pathmap.PathSpec-org.eclipse.jetty.websocket.servlet.WebSocketCreator-">addMapping</a></span>(<a href="../../../../../org/eclipse/jetty/websocket/server/pathmap/PathSpec.html" title="class in org.eclipse.jetty.websocket.server.pathmap">PathSpec</a> spec, |
| <a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a> creator)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">use <a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#addMapping-org.eclipse.jetty.websocket.server.pathmap.PathSpec-org.eclipse.jetty.websocket.servlet.WebSocketCreator-"><code>addMapping(PathSpec, WebSocketCreator)</code></a> instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#addMapping-java.lang.String-java.lang.Class-">addMapping</a></span>(java.lang.String rawspec, |
| java.lang.Class<?> endpointClass)</code> |
| <div class="block">Manually add a WebSocket mapping.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#addMapping-java.lang.String-org.eclipse.jetty.websocket.servlet.WebSocketCreator-">addMapping</a></span>(java.lang.String rawspec, |
| <a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a> creator)</code> |
| <div class="block">Add a mapping, of a pathspec to a WebSocketCreator.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#doStop--">doStop</a></span>()</code> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#dump--">dump</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#dump-java.lang.Appendable-java.lang.String-">dump</a></span>(java.lang.Appendable out, |
| java.lang.String indent)</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/jetty/websocket/server/WebSocketServerFactory.html" title="class in org.eclipse.jetty.websocket.server">WebSocketServerFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#getFactory--">getFactory</a></span>()</code> |
| <div class="block">Get WebSocketServerFactory being used.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#getMapping-java.lang.String-">getMapping</a></span>(java.lang.String rawspec)</code> |
| <div class="block">/** |
| Returns the creator for the given path spec.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/jetty/http/pathmap/MappedResource.html" title="class in org.eclipse.jetty.http.pathmap">MappedResource</a><<a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#getMatch-java.lang.String-">getMatch</a></span>(java.lang.String target)</code> |
| <div class="block">Get the matching <a href="../../../../../org/eclipse/jetty/http/pathmap/MappedResource.html" title="class in org.eclipse.jetty.http.pathmap"><code>MappedResource</code></a> for the provided target.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/jetty/websocket/api/WebSocketPolicy.html" title="class in org.eclipse.jetty.websocket.api">WebSocketPolicy</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#getPolicy--">getPolicy</a></span>()</code> |
| <div class="block">Used to configure the Default <a href="../../../../../org/eclipse/jetty/websocket/api/WebSocketPolicy.html" title="class in org.eclipse.jetty.websocket.api"><code>WebSocketPolicy</code></a> used by all endpoints that |
| don't redeclare the values.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#removeMapping-java.lang.String-">removeMapping</a></span>(java.lang.String rawspec)</code> |
| <div class="block">Removes the mapping based on the given path spec.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.jetty.util.component.ContainerLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.util.component.<a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></h3> |
| <code><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addBean-java.lang.Object-">addBean</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addBean-java.lang.Object-boolean-">addBean</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addBean-java.lang.Object-org.eclipse.jetty.util.component.ContainerLifeCycle.Managed-">addBean</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addEventListener-org.eclipse.jetty.util.component.Container.Listener-">addEventListener</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#addManaged-org.eclipse.jetty.util.component.LifeCycle-">addManaged</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#contains-java.lang.Object-">contains</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#destroy--">destroy</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#doStart--">doStart</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump-java.lang.Appendable-">dump</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump-java.lang.Appendable-java.lang.String-java.util.Collection...-">dump</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump-org.eclipse.jetty.util.component.Dumpable-">dump</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dumpBeans-java.lang.Appendable-java.lang.String-java.util.Collection...-">dumpBeans</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dumpObject-java.lang.Appendable-java.lang.Object-">dumpObject</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dumpStdErr--">dumpStdErr</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dumpThis-java.lang.Appendable-">dumpThis</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#getBean-java.lang.Class-">getBean</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#getBeans--">getBeans</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#getBeans-java.lang.Class-">getBeans</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#isManaged-java.lang.Object-">isManaged</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#manage-java.lang.Object-">manage</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#removeBean-java.lang.Object-">removeBean</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#removeBeans--">removeBeans</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#removeEventListener-org.eclipse.jetty.util.component.Container.Listener-">removeEventListener</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#setBeans-java.util.Collection-">setBeans</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#setStopTimeout-long-">setStopTimeout</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#start-org.eclipse.jetty.util.component.LifeCycle-">start</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#stop-org.eclipse.jetty.util.component.LifeCycle-">stop</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#unmanage-java.lang.Object-">unmanage</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#updateBean-java.lang.Object-java.lang.Object-">updateBean</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#updateBean-java.lang.Object-java.lang.Object-boolean-">updateBean</a>, <a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#updateBeans-java.lang.Object:A-java.lang.Object:A-">updateBeans</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.util.component.<a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#addLifeCycleListener-org.eclipse.jetty.util.component.LifeCycle.Listener-">addLifeCycleListener</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getState--">getState</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getState-org.eclipse.jetty.util.component.LifeCycle-">getState</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#getStopTimeout--">getStopTimeout</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isFailed--">isFailed</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isRunning--">isRunning</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStarted--">isStarted</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStarting--">isStarting</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStopped--">isStopped</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#isStopping--">isStopping</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#removeLifeCycleListener-org.eclipse.jetty.util.component.LifeCycle.Listener-">removeLifeCycleListener</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#start--">start</a>, <a href="../../../../../org/eclipse/jetty/util/component/AbstractLifeCycle.html#stop--">stop</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="NativeWebSocketConfiguration-javax.servlet.ServletContext-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>NativeWebSocketConfiguration</h4> |
| <pre>public NativeWebSocketConfiguration(javax.servlet.ServletContext context)</pre> |
| </li> |
| </ul> |
| <a name="NativeWebSocketConfiguration-org.eclipse.jetty.websocket.server.WebSocketServerFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>NativeWebSocketConfiguration</h4> |
| <pre>public NativeWebSocketConfiguration(<a href="../../../../../org/eclipse/jetty/websocket/server/WebSocketServerFactory.html" title="class in org.eclipse.jetty.websocket.server">WebSocketServerFactory</a> webSocketServerFactory)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="doStop--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doStop</h4> |
| <pre>public void doStop() |
| throws java.lang.Exception</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#doStop--">ContainerLifeCycle</a></code></span></div> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#doStop--">doStop</a></code> in class <code><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dump--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dump</h4> |
| <pre>public java.lang.String dump()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/util/component/Dumpable.html#dump--">dump</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump--">dump</a></code> in class <code><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dump-java.lang.Appendable-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dump</h4> |
| <pre>public void dump(java.lang.Appendable out, |
| java.lang.String indent) |
| throws java.io.IOException</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/util/component/Dumpable.html#dump-java.lang.Appendable-java.lang.String-">dump</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html#dump-java.lang.Appendable-java.lang.String-">dump</a></code> in class <code><a href="../../../../../org/eclipse/jetty/util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFactory</h4> |
| <pre>public <a href="../../../../../org/eclipse/jetty/websocket/server/WebSocketServerFactory.html" title="class in org.eclipse.jetty.websocket.server">WebSocketServerFactory</a> getFactory()</pre> |
| <div class="block">Get WebSocketServerFactory being used.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the WebSocketServerFactory being used.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMatch-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMatch</h4> |
| <pre>public <a href="../../../../../org/eclipse/jetty/http/pathmap/MappedResource.html" title="class in org.eclipse.jetty.http.pathmap">MappedResource</a><<a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a>> getMatch(java.lang.String target)</pre> |
| <div class="block">Get the matching <a href="../../../../../org/eclipse/jetty/http/pathmap/MappedResource.html" title="class in org.eclipse.jetty.http.pathmap"><code>MappedResource</code></a> for the provided target.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>target</code> - the target path</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the matching resource, or null if no match.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPolicy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPolicy</h4> |
| <pre>public <a href="../../../../../org/eclipse/jetty/websocket/api/WebSocketPolicy.html" title="class in org.eclipse.jetty.websocket.api">WebSocketPolicy</a> getPolicy()</pre> |
| <div class="block">Used to configure the Default <a href="../../../../../org/eclipse/jetty/websocket/api/WebSocketPolicy.html" title="class in org.eclipse.jetty.websocket.api"><code>WebSocketPolicy</code></a> used by all endpoints that |
| don't redeclare the values.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the default policy for all WebSockets</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addMapping-org.eclipse.jetty.http.pathmap.PathSpec-org.eclipse.jetty.websocket.servlet.WebSocketCreator-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addMapping</h4> |
| <pre>public void addMapping(<a href="../../../../../org/eclipse/jetty/http/pathmap/PathSpec.html" title="class in org.eclipse.jetty.http.pathmap">PathSpec</a> pathSpec, |
| <a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a> creator)</pre> |
| <div class="block">Manually add a WebSocket mapping. |
| <p> |
| If mapping is added before this configuration is started, then it is persisted through |
| stop/start of this configuration's lifecycle. Otherwise it will be removed when |
| this configuration is stopped. |
| </p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#addMapping-org.eclipse.jetty.http.pathmap.PathSpec-org.eclipse.jetty.websocket.servlet.WebSocketCreator-">addMapping</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server">MappedWebSocketCreator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pathSpec</code> - the pathspec to respond on</dd> |
| <dd><code>creator</code> - the websocket creator to activate on the provided mapping.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addMapping-org.eclipse.jetty.websocket.server.pathmap.PathSpec-org.eclipse.jetty.websocket.servlet.WebSocketCreator-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addMapping</h4> |
| <pre>@Deprecated |
| public void addMapping(<a href="../../../../../org/eclipse/jetty/websocket/server/pathmap/PathSpec.html" title="class in org.eclipse.jetty.websocket.server.pathmap">PathSpec</a> spec, |
| <a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a> creator)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html#addMapping-org.eclipse.jetty.websocket.server.pathmap.PathSpec-org.eclipse.jetty.websocket.servlet.WebSocketCreator-"><code>addMapping(PathSpec, WebSocketCreator)</code></a> instead.</span></div> |
| <div class="block">Manually add a WebSocket mapping.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#addMapping-org.eclipse.jetty.websocket.server.pathmap.PathSpec-org.eclipse.jetty.websocket.servlet.WebSocketCreator-">addMapping</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server">MappedWebSocketCreator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>spec</code> - the pathspec to respond on</dd> |
| <dd><code>creator</code> - the websocket creator to activate on the provided mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addMapping-org.eclipse.jetty.http.pathmap.PathSpec-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addMapping</h4> |
| <pre>public void addMapping(<a href="../../../../../org/eclipse/jetty/http/pathmap/PathSpec.html" title="class in org.eclipse.jetty.http.pathmap">PathSpec</a> pathSpec, |
| java.lang.Class<?> endpointClass)</pre> |
| <div class="block">Manually add a WebSocket mapping.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>pathSpec</code> - the pathspec to respond on</dd> |
| <dd><code>endpointClass</code> - the endpoint class to use for new upgrade requests on the provided |
| pathspec (can be an <a href="../../../../../org/eclipse/jetty/websocket/api/annotations/WebSocket.html" title="annotation in org.eclipse.jetty.websocket.api.annotations"><code>WebSocket</code></a> annotated |
| POJO, or implementing <a href="../../../../../org/eclipse/jetty/websocket/api/WebSocketListener.html" title="interface in org.eclipse.jetty.websocket.api"><code>WebSocketListener</code></a>)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addMapping-java.lang.String-org.eclipse.jetty.websocket.servlet.WebSocketCreator-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addMapping</h4> |
| <pre>public void addMapping(java.lang.String rawspec, |
| <a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a> creator)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#addMapping-java.lang.String-org.eclipse.jetty.websocket.servlet.WebSocketCreator-">MappedWebSocketCreator</a></code></span></div> |
| <div class="block">Add a mapping, of a pathspec to a WebSocketCreator. |
| <p> |
| Recognized Path Spec syntaxes |
| </p> |
| <dl> |
| <dt><code>/path/to</code> or <code>/</code> or <code>*.ext</code> or <code>servlet|{spec}</code></dt> |
| <dd>Servlet Syntax</dd> |
| <dt><code>^{spec}</code> or <code>regex|{spec}</code></dt> |
| <dd>Regex Syntax</dd> |
| <dt><code>uri-template|{spec}</code></dt> |
| <dd>URI Template (see JSR356 and RFC6570 level 1)</dd> |
| </dl></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#addMapping-java.lang.String-org.eclipse.jetty.websocket.servlet.WebSocketCreator-">addMapping</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server">MappedWebSocketCreator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rawspec</code> - the path spec to use.</dd> |
| <dd><code>creator</code> - the websocket creator for this specific mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMapping-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMapping</h4> |
| <pre>public <a href="../../../../../org/eclipse/jetty/websocket/servlet/WebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.servlet">WebSocketCreator</a> getMapping(java.lang.String rawspec)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#getMapping-java.lang.String-">MappedWebSocketCreator</a></code></span></div> |
| <div class="block">/** |
| Returns the creator for the given path spec.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#getMapping-java.lang.String-">getMapping</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server">MappedWebSocketCreator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rawspec</code> - @param spec the spec to test for (using the same spec syntax as seen in <a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#addMapping-java.lang.String-org.eclipse.jetty.websocket.servlet.WebSocketCreator-"><code>MappedWebSocketCreator.addMapping(String, WebSocketCreator)</code></a>)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the websocket creator if path spec exists, or null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeMapping-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeMapping</h4> |
| <pre>public boolean removeMapping(java.lang.String rawspec)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#removeMapping-java.lang.String-">MappedWebSocketCreator</a></code></span></div> |
| <div class="block">Removes the mapping based on the given path spec.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#removeMapping-java.lang.String-">removeMapping</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server">MappedWebSocketCreator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rawspec</code> - the path spec to remove (using the same spec syntax as seen in <a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#addMapping-java.lang.String-org.eclipse.jetty.websocket.servlet.WebSocketCreator-"><code>MappedWebSocketCreator.addMapping(String, WebSocketCreator)</code></a>)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if underlying mapping were altered, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addMapping-java.lang.String-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>addMapping</h4> |
| <pre>public void addMapping(java.lang.String rawspec, |
| java.lang.Class<?> endpointClass)</pre> |
| <div class="block">Manually add a WebSocket mapping.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rawspec</code> - the pathspec to map to (see <a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html#addMapping-java.lang.String-org.eclipse.jetty.websocket.servlet.WebSocketCreator-"><code>MappedWebSocketCreator.addMapping(String, WebSocketCreator)</code></a> for syntax details)</dd> |
| <dd><code>endpointClass</code> - the endpoint class to use for new upgrade requests on the provided |
| pathspec (can be an <a href="../../../../../org/eclipse/jetty/websocket/api/annotations/WebSocket.html" title="annotation in org.eclipse.jetty.websocket.api.annotations"><code>WebSocket</code></a> annotated |
| POJO, or implementing <a href="../../../../../org/eclipse/jetty/websocket/api/WebSocketListener.html" title="interface in org.eclipse.jetty.websocket.api"><code>WebSocketListener</code></a>)</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/NativeWebSocketConfiguration.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/eclipse/jetty/websocket/server/MappedWebSocketCreator.html" title="interface in org.eclipse.jetty.websocket.server"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/jetty/websocket/server/NativeWebSocketServletContainerInitializer.html" title="class in org.eclipse.jetty.websocket.server"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/jetty/websocket/server/NativeWebSocketConfiguration.html" target="_top">Frames</a></li> |
| <li><a href="NativeWebSocketConfiguration.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">Nested</a> | </li> |
| <li><a href="#fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 1995–2018 <a href="http://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </body> |
| </html> |