blob: b2bf59354e425f2343973fbeea3500a83c1c7dcf [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.11) on Fri Oct 01 11:33:56 CDT 2021 -->
<title>ClientContainer (Jetty :: Project 9.4.44.v20210927 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-10-01">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ClientContainer (Jetty :: Project 9.4.44.v20210927 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ClientContainer.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" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.jetty.websocket.jsr356</a></div>
<h2 title="Class ClientContainer" class="title">Class ClientContainer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../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="../../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.jsr356.ClientContainer</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>javax.websocket.WebSocketContainer</code>, <code><a href="../../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></code>, <code><a href="../../util/component/Destroyable.html" title="interface in org.eclipse.jetty.util.component">Destroyable</a></code>, <code><a href="../../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code>, <code><a href="../../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code>, <code><a href="../../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code>, <code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="server/ServerContainer.html" title="class in org.eclipse.jetty.websocket.jsr356.server">ServerContainer</a></code></dd>
</dl>
<hr>
<pre><a href="../../util/annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a>("JSR356 Client Container")
public class <span class="typeNameLabel">ClientContainer</span>
extends <a href="../../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a>
implements javax.websocket.WebSocketContainer, <a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></pre>
<div class="block">Container for Client use of the javax.websocket API.
<p>
This should be specific to a JVM if run in a standalone mode. or specific to a WebAppContext if running on the Jetty server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../../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 id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Container">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3>
<code><a href="../../util/component/Container.InheritedListener.html" title="interface in org.eclipse.jetty.util.component">Container.InheritedListener</a>, <a href="../../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 id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3>
<code><a href="../../util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../../util/component/AbstractLifeCycle.html#FAILED">FAILED</a>, <a href="../../util/component/AbstractLifeCycle.html#RUNNING">RUNNING</a>, <a href="../../util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../../util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../../util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../../util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../../util/component/Dumpable.html#KEY">KEY</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ClientContainer</a></span>()</code></th>
<td class="colLast">
<div class="block">This is the entry point for <code>ContainerProvider.getWebSocketContainer()</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.client.HttpClient)">ClientContainer</a></span>&#8203;(<a href="../../client/HttpClient.html" title="class in org.eclipse.jetty.client">HttpClient</a>&nbsp;httpClient)</code></th>
<td class="colLast">
<div class="block">Create a <code>WebSocketContainer</code> using the supplied
<a href="../../client/HttpClient.html" title="class in org.eclipse.jetty.client"><code>HttpClient</code></a> for environments where you want to configure
SSL/TLS or Proxy behaviors.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.websocket.client.WebSocketClient)">ClientContainer</a></span>&#8203;(<a href="../client/WebSocketClient.html" title="class in org.eclipse.jetty.websocket.client">WebSocketClient</a>&nbsp;client)</code></th>
<td class="colLast">
<div class="block">Build a ClientContainer with a specific WebSocketClient in mind.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope)">ClientContainer</a></span>&#8203;(<a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a>&nbsp;scope)</code></th>
<td class="colLast">
<div class="block">This is the entry point for ServerContainer, via ServletContext.getAttribute(ServerContainer.class.getName())</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope,org.eclipse.jetty.client.HttpClient)">ClientContainer</a></span>&#8203;(<a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a>&nbsp;scope,
<a href="../../client/HttpClient.html" title="class in org.eclipse.jetty.client">HttpClient</a>&nbsp;httpClient)</code></th>
<td class="colLast">
<div class="block">This is the entry point for ServerContainer, via ServletContext.getAttribute(ServerContainer.class.getName())</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addSessionListener(org.eclipse.jetty.websocket.common.WebSocketSessionListener)">addSessionListener</a></span>&#8203;(<a href="../common/WebSocketSessionListener.html" title="interface in org.eclipse.jetty.websocket.common">WebSocketSessionListener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>javax.websocket.Session</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connectToServer(java.lang.Class,java.net.URI)">connectToServer</a></span>&#8203;(java.lang.Class&lt;?&gt;&nbsp;annotatedEndpointClass,
java.net.URI&nbsp;path)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>javax.websocket.Session</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connectToServer(java.lang.Class,javax.websocket.ClientEndpointConfig,java.net.URI)">connectToServer</a></span>&#8203;(java.lang.Class&lt;? extends javax.websocket.Endpoint&gt;&nbsp;endpointClass,
javax.websocket.ClientEndpointConfig&nbsp;config,
java.net.URI&nbsp;path)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>javax.websocket.Session</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connectToServer(java.lang.Object,java.net.URI)">connectToServer</a></span>&#8203;(java.lang.Object&nbsp;endpoint,
java.net.URI&nbsp;path)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>javax.websocket.Session</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connectToServer(javax.websocket.Endpoint,javax.websocket.ClientEndpointConfig,java.net.URI)">connectToServer</a></span>&#8203;(javax.websocket.Endpoint&nbsp;endpoint,
javax.websocket.ClientEndpointConfig&nbsp;config,
java.net.URI&nbsp;path)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStart()">doStart</a></span>()</code></th>
<td class="colLast">
<div class="block">Starts the managed lifecycle beans in the order they were added.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStop()">doStop</a></span>()</code></th>
<td class="colLast">
<div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBufferPool()">getBufferPool</a></span>()</code></th>
<td class="colLast">
<div class="block">The configured Container Buffer Pool.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.ClassLoader</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClassLoader()">getClassLoader</a></span>()</code></th>
<td class="colLast">
<div class="block">The ClassLoader used to load classes for the WebSocketSession.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../client/WebSocketClient.html" title="class in org.eclipse.jetty.websocket.client">WebSocketClient</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClient()">getClient</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="metadata/EndpointMetadata.html" title="interface in org.eclipse.jetty.websocket.jsr356.metadata">EndpointMetadata</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClientEndpointMetadata(java.lang.Class,javax.websocket.EndpointConfig)">getClientEndpointMetadata</a></span>&#8203;(java.lang.Class&lt;?&gt;&nbsp;endpoint,
javax.websocket.EndpointConfig&nbsp;config)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="DecoderFactory.html" title="class in org.eclipse.jetty.websocket.jsr356">DecoderFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDecoderFactory()">getDecoderFactory</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultAsyncSendTimeout()">getDefaultAsyncSendTimeout</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultMaxBinaryMessageBufferSize()">getDefaultMaxBinaryMessageBufferSize</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultMaxSessionIdleTimeout()">getDefaultMaxSessionIdleTimeout</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultMaxTextMessageBufferSize()">getDefaultMaxTextMessageBufferSize</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="EncoderFactory.html" title="class in org.eclipse.jetty.websocket.jsr356">EncoderFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEncoderFactory()">getEncoderFactory</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.util.concurrent.Executor</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExecutor()">getExecutor</a></span>()</code></th>
<td class="colLast">
<div class="block">Executor in use by the container.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>java.util.Set&lt;javax.websocket.Extension&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInstalledExtensions()">getInstalledExtensions</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../util/DecoratedObjectFactory.html" title="class in org.eclipse.jetty.util">DecoratedObjectFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjectFactory()">getObjectFactory</a></span>()</code></th>
<td class="colLast">
<div class="block">Object Factory used to create objects.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>java.util.Set&lt;javax.websocket.Session&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOpenSessions()">getOpenSessions</a></span>()</code></th>
<td class="colLast">
<div class="block">Used in <code>Session.getOpenSessions()</code></div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../api/WebSocketPolicy.html" title="class in org.eclipse.jetty.websocket.api">WebSocketPolicy</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPolicy()">getPolicy</a></span>()</code></th>
<td class="colLast">
<div class="block">The policy the container is running on.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="../common/WebSocketSessionListener.html" title="interface in org.eclipse.jetty.websocket.common">WebSocketSessionListener</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSessionListeners()">getSessionListeners</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../util/ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSslContextFactory()">getSslContextFactory</a></span>()</code></th>
<td class="colLast">
<div class="block">The SslContextFactory in use by the container.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="endpoints/EndpointInstance.html" title="class in org.eclipse.jetty.websocket.jsr356.endpoints">EndpointInstance</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newClientEndpointInstance(java.lang.Object,javax.websocket.ClientEndpointConfig)">newClientEndpointInstance</a></span>&#8203;(java.lang.Object&nbsp;endpoint,
javax.websocket.ClientEndpointConfig&nbsp;config)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeSessionListener(org.eclipse.jetty.websocket.common.WebSocketSessionListener)">removeSessionListener</a></span>&#8203;(<a href="../common/WebSocketSessionListener.html" title="interface in org.eclipse.jetty.websocket.common">WebSocketSessionListener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAsyncSendTimeout(long)">setAsyncSendTimeout</a></span>&#8203;(long&nbsp;ms)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultMaxBinaryMessageBufferSize(int)">setDefaultMaxBinaryMessageBufferSize</a></span>&#8203;(int&nbsp;max)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultMaxSessionIdleTimeout(long)">setDefaultMaxSessionIdleTimeout</a></span>&#8203;(long&nbsp;ms)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultMaxTextMessageBufferSize(int)">setDefaultMaxTextMessageBufferSize</a></span>&#8203;(int&nbsp;max)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.ContainerLifeCycle">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></h3>
<code><a href="../../util/component/ContainerLifeCycle.html#addBean(java.lang.Object)">addBean</a>, <a href="../../util/component/ContainerLifeCycle.html#addBean(java.lang.Object,boolean)">addBean</a>, <a href="../../util/component/ContainerLifeCycle.html#addEventListener(org.eclipse.jetty.util.component.Container.Listener)">addEventListener</a>, <a href="../../util/component/ContainerLifeCycle.html#addManaged(org.eclipse.jetty.util.component.LifeCycle)">addManaged</a>, <a href="../../util/component/ContainerLifeCycle.html#contains(java.lang.Object)">contains</a>, <a href="../../util/component/ContainerLifeCycle.html#destroy()">destroy</a>, <a href="../../util/component/ContainerLifeCycle.html#dump()">dump</a>, <a href="../../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable)">dump</a>, <a href="../../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String)">dump</a>, <a href="../../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String,java.util.Collection...)">dump</a>, <a href="../../util/component/ContainerLifeCycle.html#dump(org.eclipse.jetty.util.component.Dumpable)">dump</a>, <a href="../../util/component/ContainerLifeCycle.html#dumpBeans(java.lang.Appendable,java.lang.String,java.util.Collection...)">dumpBeans</a>, <a href="../../util/component/ContainerLifeCycle.html#dumpObject(java.lang.Appendable,java.lang.Object)">dumpObject</a>, <a href="../../util/component/ContainerLifeCycle.html#dumpObjects(java.lang.Appendable,java.lang.String,java.lang.Object...)">dumpObjects</a>, <a href="../../util/component/ContainerLifeCycle.html#dumpStdErr()">dumpStdErr</a>, <a href="../../util/component/ContainerLifeCycle.html#dumpThis(java.lang.Appendable)">dumpThis</a>, <a href="../../util/component/ContainerLifeCycle.html#getBean(java.lang.Class)">getBean</a>, <a href="../../util/component/ContainerLifeCycle.html#getBeans()">getBeans</a>, <a href="../../util/component/ContainerLifeCycle.html#getBeans(java.lang.Class)">getBeans</a>, <a href="../../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class)">getContainedBeans</a>, <a href="../../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class,java.util.Collection)">getContainedBeans</a>, <a href="../../util/component/ContainerLifeCycle.html#isAuto(java.lang.Object)">isAuto</a>, <a href="../../util/component/ContainerLifeCycle.html#isManaged(java.lang.Object)">isManaged</a>, <a href="../../util/component/ContainerLifeCycle.html#isUnmanaged(java.lang.Object)">isUnmanaged</a>, <a href="../../util/component/ContainerLifeCycle.html#manage(java.lang.Object)">manage</a>, <a href="../../util/component/ContainerLifeCycle.html#removeBean(java.lang.Object)">removeBean</a>, <a href="../../util/component/ContainerLifeCycle.html#removeBeans()">removeBeans</a>, <a href="../../util/component/ContainerLifeCycle.html#removeEventListener(org.eclipse.jetty.util.component.Container.Listener)">removeEventListener</a>, <a href="../../util/component/ContainerLifeCycle.html#setBeans(java.util.Collection)">setBeans</a>, <a href="../../util/component/ContainerLifeCycle.html#setStopTimeout(long)">setStopTimeout</a>, <a href="../../util/component/ContainerLifeCycle.html#start(org.eclipse.jetty.util.component.LifeCycle)">start</a>, <a href="../../util/component/ContainerLifeCycle.html#stop(org.eclipse.jetty.util.component.LifeCycle)">stop</a>, <a href="../../util/component/ContainerLifeCycle.html#unmanage(java.lang.Object)">unmanage</a>, <a href="../../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object)">updateBean</a>, <a href="../../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object,boolean)">updateBean</a>, <a href="../../util/component/ContainerLifeCycle.html#updateBeans(java.lang.Object%5B%5D,java.lang.Object%5B%5D)">updateBeans</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../../util/component/AbstractLifeCycle.html#addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">addLifeCycleListener</a>, <a href="../../util/component/AbstractLifeCycle.html#getState()">getState</a>, <a href="../../util/component/AbstractLifeCycle.html#getState(org.eclipse.jetty.util.component.LifeCycle)">getState</a>, <a href="../../util/component/AbstractLifeCycle.html#getStopTimeout()">getStopTimeout</a>, <a href="../../util/component/AbstractLifeCycle.html#isFailed()">isFailed</a>, <a href="../../util/component/AbstractLifeCycle.html#isRunning()">isRunning</a>, <a href="../../util/component/AbstractLifeCycle.html#isStarted()">isStarted</a>, <a href="../../util/component/AbstractLifeCycle.html#isStarting()">isStarting</a>, <a href="../../util/component/AbstractLifeCycle.html#isStopped()">isStopped</a>, <a href="../../util/component/AbstractLifeCycle.html#isStopping()">isStopping</a>, <a href="../../util/component/AbstractLifeCycle.html#removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">removeLifeCycleListener</a>, <a href="../../util/component/AbstractLifeCycle.html#start()">start</a>, <a href="../../util/component/AbstractLifeCycle.html#stop()">stop</a>, <a href="../../util/component/AbstractLifeCycle.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../../util/component/Dumpable.html#dumpSelf()">dumpSelf</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable.DumpableContainer">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></h3>
<code><a href="../../util/component/Dumpable.DumpableContainer.html#isDumpable(java.lang.Object)">isDumpable</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.websocket.common.scopes.<a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></h3>
<code><a href="../common/scopes/WebSocketContainerScope.html#isRunning()">isRunning</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ClientContainer</h4>
<pre>public&nbsp;ClientContainer()</pre>
<div class="block">This is the entry point for <code>ContainerProvider.getWebSocketContainer()</code></div>
</li>
</ul>
<a id="&lt;init&gt;(org.eclipse.jetty.client.HttpClient)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ClientContainer</h4>
<pre>public&nbsp;ClientContainer&#8203;(<a href="../../client/HttpClient.html" title="class in org.eclipse.jetty.client">HttpClient</a>&nbsp;httpClient)</pre>
<div class="block">Create a <code>WebSocketContainer</code> using the supplied
<a href="../../client/HttpClient.html" title="class in org.eclipse.jetty.client"><code>HttpClient</code></a> for environments where you want to configure
SSL/TLS or Proxy behaviors.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>httpClient</code> - the HttpClient instance to use</dd>
</dl>
</li>
</ul>
<a id="&lt;init&gt;(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ClientContainer</h4>
<pre>public&nbsp;ClientContainer&#8203;(<a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a>&nbsp;scope)</pre>
<div class="block">This is the entry point for ServerContainer, via ServletContext.getAttribute(ServerContainer.class.getName())</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>scope</code> - the scope of the ServerContainer</dd>
</dl>
</li>
</ul>
<a id="&lt;init&gt;(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope,org.eclipse.jetty.client.HttpClient)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ClientContainer</h4>
<pre>protected&nbsp;ClientContainer&#8203;(<a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a>&nbsp;scope,
<a href="../../client/HttpClient.html" title="class in org.eclipse.jetty.client">HttpClient</a>&nbsp;httpClient)</pre>
<div class="block">This is the entry point for ServerContainer, via ServletContext.getAttribute(ServerContainer.class.getName())</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>scope</code> - the scope of the ServerContainer</dd>
<dd><code>httpClient</code> - the HttpClient instance to use</dd>
</dl>
</li>
</ul>
<a id="&lt;init&gt;(org.eclipse.jetty.websocket.client.WebSocketClient)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ClientContainer</h4>
<pre>public&nbsp;ClientContainer&#8203;(<a href="../client/WebSocketClient.html" title="class in org.eclipse.jetty.websocket.client">WebSocketClient</a>&nbsp;client)</pre>
<div class="block">Build a ClientContainer with a specific WebSocketClient in mind.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>client</code> - the WebSocketClient to use.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="connectToServer(java.lang.Class,javax.websocket.ClientEndpointConfig,java.net.URI)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectToServer</h4>
<pre class="methodSignature">public&nbsp;javax.websocket.Session&nbsp;connectToServer&#8203;(java.lang.Class&lt;? extends javax.websocket.Endpoint&gt;&nbsp;endpointClass,
javax.websocket.ClientEndpointConfig&nbsp;config,
java.net.URI&nbsp;path)
throws javax.websocket.DeploymentException,
java.io.IOException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>connectToServer</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.websocket.DeploymentException</code></dd>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a id="connectToServer(java.lang.Class,java.net.URI)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectToServer</h4>
<pre class="methodSignature">public&nbsp;javax.websocket.Session&nbsp;connectToServer&#8203;(java.lang.Class&lt;?&gt;&nbsp;annotatedEndpointClass,
java.net.URI&nbsp;path)
throws javax.websocket.DeploymentException,
java.io.IOException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>connectToServer</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.websocket.DeploymentException</code></dd>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a id="connectToServer(javax.websocket.Endpoint,javax.websocket.ClientEndpointConfig,java.net.URI)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectToServer</h4>
<pre class="methodSignature">public&nbsp;javax.websocket.Session&nbsp;connectToServer&#8203;(javax.websocket.Endpoint&nbsp;endpoint,
javax.websocket.ClientEndpointConfig&nbsp;config,
java.net.URI&nbsp;path)
throws javax.websocket.DeploymentException,
java.io.IOException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>connectToServer</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.websocket.DeploymentException</code></dd>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a id="connectToServer(java.lang.Object,java.net.URI)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectToServer</h4>
<pre class="methodSignature">public&nbsp;javax.websocket.Session&nbsp;connectToServer&#8203;(java.lang.Object&nbsp;endpoint,
java.net.URI&nbsp;path)
throws javax.websocket.DeploymentException,
java.io.IOException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>connectToServer</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.websocket.DeploymentException</code></dd>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a id="doStart()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStart</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;doStart()
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../util/component/ContainerLifeCycle.html#doStart()">ContainerLifeCycle</a></code></span></div>
<div class="block">Starts the managed lifecycle beans in the order they were added.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../util/component/ContainerLifeCycle.html#doStart()">doStart</a></code>&nbsp;in class&nbsp;<code><a href="../../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 id="doStop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStop</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;doStop()
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../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="../../util/component/ContainerLifeCycle.html#doStop()">doStop</a></code>&nbsp;in class&nbsp;<code><a href="../../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 id="getBufferPool()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBufferPool</h4>
<pre class="methodSignature">public&nbsp;<a href="../../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a>&nbsp;getBufferPool()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html#getBufferPool()">WebSocketContainerScope</a></code></span></div>
<div class="block">The configured Container Buffer Pool.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#getBufferPool()">getBufferPool</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the buffer pool (never null)</dd>
</dl>
</li>
</ul>
<a id="getClient()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClient</h4>
<pre class="methodSignature">public&nbsp;<a href="../client/WebSocketClient.html" title="class in org.eclipse.jetty.websocket.client">WebSocketClient</a>&nbsp;getClient()</pre>
</li>
</ul>
<a id="getClassLoader()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassLoader</h4>
<pre class="methodSignature">public&nbsp;java.lang.ClassLoader&nbsp;getClassLoader()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html#getClassLoader()">WebSocketContainerScope</a></code></span></div>
<div class="block"><p>The ClassLoader used to load classes for the WebSocketSession.</p>
<p>By default this will be the ContextClassLoader at the time this method is called. However this will be overridden
by the WebSocketClient to use the ContextClassLoader at the time it was created, this is because the
client uses its own <a href="../../util/thread/ThreadPool.html" title="interface in org.eclipse.jetty.util.thread"><code>ThreadPool</code></a> so the WebSocketSessions may be created when
the ContextClassLoader is not set.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#getClassLoader()">getClassLoader</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the classloader.</dd>
</dl>
</li>
</ul>
<a id="getClientEndpointMetadata(java.lang.Class,javax.websocket.EndpointConfig)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClientEndpointMetadata</h4>
<pre class="methodSignature">public&nbsp;<a href="metadata/EndpointMetadata.html" title="interface in org.eclipse.jetty.websocket.jsr356.metadata">EndpointMetadata</a>&nbsp;getClientEndpointMetadata&#8203;(java.lang.Class&lt;?&gt;&nbsp;endpoint,
javax.websocket.EndpointConfig&nbsp;config)</pre>
</li>
</ul>
<a id="getDecoderFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDecoderFactory</h4>
<pre class="methodSignature">public&nbsp;<a href="DecoderFactory.html" title="class in org.eclipse.jetty.websocket.jsr356">DecoderFactory</a>&nbsp;getDecoderFactory()</pre>
</li>
</ul>
<a id="getDefaultAsyncSendTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultAsyncSendTimeout</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getDefaultAsyncSendTimeout()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getDefaultAsyncSendTimeout</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
<a id="getDefaultMaxBinaryMessageBufferSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultMaxBinaryMessageBufferSize</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getDefaultMaxBinaryMessageBufferSize()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getDefaultMaxBinaryMessageBufferSize</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
<a id="getDefaultMaxSessionIdleTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultMaxSessionIdleTimeout</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getDefaultMaxSessionIdleTimeout()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getDefaultMaxSessionIdleTimeout</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
<a id="getDefaultMaxTextMessageBufferSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultMaxTextMessageBufferSize</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getDefaultMaxTextMessageBufferSize()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getDefaultMaxTextMessageBufferSize</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
<a id="getEncoderFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncoderFactory</h4>
<pre class="methodSignature">public&nbsp;<a href="EncoderFactory.html" title="class in org.eclipse.jetty.websocket.jsr356">EncoderFactory</a>&nbsp;getEncoderFactory()</pre>
</li>
</ul>
<a id="getExecutor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutor</h4>
<pre class="methodSignature">public&nbsp;java.util.concurrent.Executor&nbsp;getExecutor()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html#getExecutor()">WebSocketContainerScope</a></code></span></div>
<div class="block">Executor in use by the container.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#getExecutor()">getExecutor</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the Executor in use by the container.</dd>
</dl>
</li>
</ul>
<a id="getInstalledExtensions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstalledExtensions</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;javax.websocket.Extension&gt;&nbsp;getInstalledExtensions()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getInstalledExtensions</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
<a id="getObjectFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectFactory</h4>
<pre class="methodSignature">public&nbsp;<a href="../../util/DecoratedObjectFactory.html" title="class in org.eclipse.jetty.util">DecoratedObjectFactory</a>&nbsp;getObjectFactory()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html#getObjectFactory()">WebSocketContainerScope</a></code></span></div>
<div class="block">Object Factory used to create objects.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#getObjectFactory()">getObjectFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Object Factory used to create instances of objects.</dd>
</dl>
</li>
</ul>
<a id="getOpenSessions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpenSessions</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;javax.websocket.Session&gt;&nbsp;getOpenSessions()</pre>
<div class="block">Used in <code>Session.getOpenSessions()</code></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of open sessions</dd>
</dl>
</li>
</ul>
<a id="getPolicy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPolicy</h4>
<pre class="methodSignature">public&nbsp;<a href="../api/WebSocketPolicy.html" title="class in org.eclipse.jetty.websocket.api">WebSocketPolicy</a>&nbsp;getPolicy()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html#getPolicy()">WebSocketContainerScope</a></code></span></div>
<div class="block">The policy the container is running on.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#getPolicy()">getPolicy</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the websocket policy</dd>
</dl>
</li>
</ul>
<a id="getSslContextFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSslContextFactory</h4>
<pre class="methodSignature">public&nbsp;<a href="../../util/ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory</a>&nbsp;getSslContextFactory()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html#getSslContextFactory()">WebSocketContainerScope</a></code></span></div>
<div class="block">The SslContextFactory in use by the container.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#getSslContextFactory()">getSslContextFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the SslContextFactory in use by the container (can be null if no SSL context is defined)</dd>
</dl>
</li>
</ul>
<a id="addSessionListener(org.eclipse.jetty.websocket.common.WebSocketSessionListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSessionListener</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addSessionListener&#8203;(<a href="../common/WebSocketSessionListener.html" title="interface in org.eclipse.jetty.websocket.common">WebSocketSessionListener</a>&nbsp;listener)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#addSessionListener(org.eclipse.jetty.websocket.common.WebSocketSessionListener)">addSessionListener</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
</dl>
</li>
</ul>
<a id="removeSessionListener(org.eclipse.jetty.websocket.common.WebSocketSessionListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeSessionListener</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;removeSessionListener&#8203;(<a href="../common/WebSocketSessionListener.html" title="interface in org.eclipse.jetty.websocket.common">WebSocketSessionListener</a>&nbsp;listener)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#removeSessionListener(org.eclipse.jetty.websocket.common.WebSocketSessionListener)">removeSessionListener</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
</dl>
</li>
</ul>
<a id="getSessionListeners()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionListeners</h4>
<pre class="methodSignature">public&nbsp;java.util.Collection&lt;<a href="../common/WebSocketSessionListener.html" title="interface in org.eclipse.jetty.websocket.common">WebSocketSessionListener</a>&gt;&nbsp;getSessionListeners()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/scopes/WebSocketContainerScope.html#getSessionListeners()">getSessionListeners</a></code>&nbsp;in interface&nbsp;<code><a href="../common/scopes/WebSocketContainerScope.html" title="interface in org.eclipse.jetty.websocket.common.scopes">WebSocketContainerScope</a></code></dd>
</dl>
</li>
</ul>
<a id="newClientEndpointInstance(java.lang.Object,javax.websocket.ClientEndpointConfig)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newClientEndpointInstance</h4>
<pre class="methodSignature">public&nbsp;<a href="endpoints/EndpointInstance.html" title="class in org.eclipse.jetty.websocket.jsr356.endpoints">EndpointInstance</a>&nbsp;newClientEndpointInstance&#8203;(java.lang.Object&nbsp;endpoint,
javax.websocket.ClientEndpointConfig&nbsp;config)</pre>
</li>
</ul>
<a id="setAsyncSendTimeout(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAsyncSendTimeout</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setAsyncSendTimeout&#8203;(long&nbsp;ms)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setAsyncSendTimeout</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
<a id="setDefaultMaxBinaryMessageBufferSize(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultMaxBinaryMessageBufferSize</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setDefaultMaxBinaryMessageBufferSize&#8203;(int&nbsp;max)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setDefaultMaxBinaryMessageBufferSize</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
<a id="setDefaultMaxSessionIdleTimeout(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultMaxSessionIdleTimeout</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setDefaultMaxSessionIdleTimeout&#8203;(long&nbsp;ms)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setDefaultMaxSessionIdleTimeout</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
<a id="setDefaultMaxTextMessageBufferSize(int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setDefaultMaxTextMessageBufferSize</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setDefaultMaxTextMessageBufferSize&#8203;(int&nbsp;max)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setDefaultMaxTextMessageBufferSize</code>&nbsp;in interface&nbsp;<code>javax.websocket.WebSocketContainer</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ClientContainer.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" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>