| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.14.1) on Mon Apr 04 09:09:38 CDT 2022 --> |
| <title>AbstractEndPoint (Eclipse Jetty API Doc - v10.0.9)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-04-04"> |
| <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="AbstractEndPoint (Eclipse Jetty API Doc - v10.0.9)"; |
| } |
| } |
| 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":6,"i19":10,"i20":10,"i21":10,"i22":6,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| 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/AbstractEndPoint.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 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </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 id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </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> <a href="package-summary.html">org.eclipse.jetty.io</a></div> |
| <h2 title="Class AbstractEndPoint" class="title">Class AbstractEndPoint</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="IdleTimeout.html" title="class in org.eclipse.jetty.io">org.eclipse.jetty.io.IdleTimeout</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.io.AbstractEndPoint</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code>java.io.Closeable</code>, <code>java.lang.AutoCloseable</code>, <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="ByteArrayEndPoint.html" title="class in org.eclipse.jetty.io">ByteArrayEndPoint</a></code>, <code><a href="../quic/common/QuicStreamEndPoint.html" title="class in org.eclipse.jetty.quic.common">QuicStreamEndPoint</a></code>, <code><a href="SelectableChannelEndPoint.html" title="class in org.eclipse.jetty.io">SelectableChannelEndPoint</a></code>, <code><a href="ssl/SslConnection.DecryptedEndPoint.html" title="class in org.eclipse.jetty.io.ssl">SslConnection.DecryptedEndPoint</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">AbstractEndPoint</span> |
| extends <a href="IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a> |
| implements <a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></pre> |
| <div class="block"><p>Partial implementation of EndPoint that uses <a href="FillInterest.html" title="class in org.eclipse.jetty.io"><code>FillInterest</code></a> and <a href="WriteFlusher.html" title="class in org.eclipse.jetty.io"><code>WriteFlusher</code></a>.</p></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.io.EndPoint"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.io.<a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></h3> |
| <code><a href="EndPoint.Wrapper.html" title="interface in org.eclipse.jetty.io">EndPoint.Wrapper</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"> </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>protected </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.util.thread.Scheduler)">AbstractEndPoint</a></span>​(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler)</code></th> |
| <td class="colLast"> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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></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="#close()">close</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Close any backing stream associated with the endpoint</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close(java.lang.Throwable)">close</a></span>​(java.lang.Throwable failure)</code></th> |
| <td class="colLast"> |
| <div class="block">Close any backing stream associated with the endpoint, passing a cause</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doClose()">doClose</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doShutdownInput()">doShutdownInput</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doShutdownOutput()">doShutdownOutput</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fillInterested(org.eclipse.jetty.util.Callback)">fillInterested</a></span>​(<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></th> |
| <td class="colLast"> |
| <div class="block">Requests callback methods to be invoked when a call to <a href="EndPoint.html#fill(java.nio.ByteBuffer)"><code>EndPoint.fill(ByteBuffer)</code></a> would return data or EOF.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="Connection.html" title="interface in org.eclipse.jetty.io">Connection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnection()">getConnection</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCreatedTimeStamp()">getCreatedTimeStamp</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="FillInterest.html" title="class in org.eclipse.jetty.io">FillInterest</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFillInterest()">getFillInterest</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>java.net.InetSocketAddress</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLocalAddress()">getLocalAddress</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>java.net.SocketAddress</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLocalSocketAddress()">getLocalSocketAddress</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>java.net.InetSocketAddress</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRemoteAddress()">getRemoteAddress</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>java.net.SocketAddress</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRemoteSocketAddress()">getRemoteSocketAddress</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="WriteFlusher.html" title="class in org.eclipse.jetty.io">WriteFlusher</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWriteFlusher()">getWriteFlusher</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFillInterested()">isFillInterested</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isInputShutdown()">isInputShutdown</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test if the input is shutdown.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isOpen()">isOpen</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">This abstract method should be called to check if idle timeouts |
| should still be checked.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isOutputShutdown()">isOutputShutdown</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Test if output is shutdown.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#needsFillInterest()">needsFillInterest</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onClose()">onClose</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onClose(java.lang.Throwable)">onClose</a></span>​(java.lang.Throwable failure)</code></th> |
| <td class="colLast"> |
| <div class="block">Callback method invoked when this <a href="EndPoint.html" title="interface in org.eclipse.jetty.io"><code>EndPoint</code></a> is closed.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onIdleExpired(java.util.concurrent.TimeoutException)">onIdleExpired</a></span>​(java.util.concurrent.TimeoutException timeout)</code></th> |
| <td class="colLast"> |
| <div class="block">This abstract method is called when the idle timeout has expired.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onIncompleteFlush()">onIncompleteFlush</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onOpen()">onOpen</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Callback method invoked when this EndPoint is opened.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reset()">reset</a></span>()</code></th> |
| <td class="colLast"> </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="#setConnection(org.eclipse.jetty.io.Connection)">setConnection</a></span>​(<a href="Connection.html" title="interface in org.eclipse.jetty.io">Connection</a> connection)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shutdownInput()">shutdownInput</a></span>()</code></th> |
| <td class="colLast"> </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="#shutdownOutput()">shutdownOutput</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Shutdown the output.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toConnectionString()">toConnectionString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toEndPointString()">toEndPointString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tryFillInterested(org.eclipse.jetty.util.Callback)">tryFillInterested</a></span>​(<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></th> |
| <td class="colLast"> |
| <div class="block">Requests callback methods to be invoked when a call to <a href="EndPoint.html#fill(java.nio.ByteBuffer)"><code>EndPoint.fill(ByteBuffer)</code></a> would return data or EOF.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#upgrade(org.eclipse.jetty.io.Connection)">upgrade</a></span>​(<a href="Connection.html" title="interface in org.eclipse.jetty.io">Connection</a> newConnection)</code></th> |
| <td class="colLast"> |
| <div class="block">Upgrades this EndPoint from the current connection to the given new connection.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#write(org.eclipse.jetty.util.Callback,java.nio.ByteBuffer...)">write</a></span>​(<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback, |
| java.nio.ByteBuffer... buffers)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes the given buffers via <a href="EndPoint.html#flush(java.nio.ByteBuffer...)"><code>EndPoint.flush(ByteBuffer...)</code></a> and invokes callback methods when either |
| all the data has been flushed or an error occurs.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.io.IdleTimeout"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.io.<a href="IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></h3> |
| <code><a href="IdleTimeout.html#checkIdleTimeout()">checkIdleTimeout</a>, <a href="IdleTimeout.html#getIdleFor()">getIdleFor</a>, <a href="IdleTimeout.html#getIdleTimeout()">getIdleTimeout</a>, <a href="IdleTimeout.html#getScheduler()">getScheduler</a>, <a href="IdleTimeout.html#notIdle()">notIdle</a>, <a href="IdleTimeout.html#setIdleTimeout(long)">setIdleTimeout</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 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.io.EndPoint"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.io.<a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></h3> |
| <code><a href="EndPoint.html#fill(java.nio.ByteBuffer)">fill</a>, <a href="EndPoint.html#flush(java.nio.ByteBuffer...)">flush</a>, <a href="EndPoint.html#getIdleTimeout()">getIdleTimeout</a>, <a href="EndPoint.html#getTransport()">getTransport</a>, <a href="EndPoint.html#setIdleTimeout(long)">setIdleTimeout</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="<init>(org.eclipse.jetty.util.thread.Scheduler)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AbstractEndPoint</h4> |
| <pre>protected AbstractEndPoint​(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler)</pre> |
| </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="getLocalAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalAddress</h4> |
| <pre class="methodSignature">public java.net.InetSocketAddress getLocalAddress()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#getLocalAddress()">getLocalAddress</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The local InetSocketAddress to which this <code>EndPoint</code> is bound, or <code>null</code> |
| if this <code>EndPoint</code> is not bound to a Socket address.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getLocalSocketAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalSocketAddress</h4> |
| <pre class="methodSignature">public java.net.SocketAddress getLocalSocketAddress()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#getLocalSocketAddress()">getLocalSocketAddress</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the local SocketAddress to which this <code>EndPoint</code> is bound or <code>null</code> |
| if this <code>EndPoint</code> is not bound to a Socket address.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getRemoteAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRemoteAddress</h4> |
| <pre class="methodSignature">public java.net.InetSocketAddress getRemoteAddress()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#getRemoteAddress()">getRemoteAddress</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The remote InetSocketAddress to which this <code>EndPoint</code> is connected, or <code>null</code> |
| if this <code>EndPoint</code> is not connected to a Socket address.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getRemoteSocketAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRemoteSocketAddress</h4> |
| <pre class="methodSignature">public java.net.SocketAddress getRemoteSocketAddress()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#getRemoteSocketAddress()">getRemoteSocketAddress</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The remote SocketAddress to which this <code>EndPoint</code> is connected, or <code>null</code> |
| if this <code>EndPoint</code> is not connected to a Socket address.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="shutdownInput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shutdownInput</h4> |
| <pre class="methodSignature">protected final void shutdownInput()</pre> |
| </li> |
| </ul> |
| <a id="shutdownOutput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shutdownOutput</h4> |
| <pre class="methodSignature">public final void shutdownOutput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#shutdownOutput()">EndPoint</a></code></span></div> |
| <div class="block">Shutdown the output. |
| <p>This call indicates that no more data will be sent on this endpoint that |
| that the remote end should read an EOF once all previously sent data has been |
| consumed. Shutdown may be done either at the TCP/IP level, as a protocol exchange (Eg |
| TLS close handshake) or both. |
| <p> |
| If the endpoint has <a href="EndPoint.html#isInputShutdown()"><code>EndPoint.isInputShutdown()</code></a> true, then this call has the same effect |
| as <a href="EndPoint.html#close()"><code>EndPoint.close()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#shutdownOutput()">shutdownOutput</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="close()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">public final void close()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#close()">EndPoint</a></code></span></div> |
| <div class="block">Close any backing stream associated with the endpoint</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>close</code> in interface <code>java.lang.AutoCloseable</code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>close</code> in interface <code>java.io.Closeable</code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#close()">close</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="close(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">public final void close​(java.lang.Throwable failure)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#close(java.lang.Throwable)">EndPoint</a></code></span></div> |
| <div class="block">Close any backing stream associated with the endpoint, passing a cause</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#close(java.lang.Throwable)">close</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>failure</code> - the reason for the close or null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="doShutdownInput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doShutdownInput</h4> |
| <pre class="methodSignature">protected void doShutdownInput()</pre> |
| </li> |
| </ul> |
| <a id="doShutdownOutput()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doShutdownOutput</h4> |
| <pre class="methodSignature">protected void doShutdownOutput()</pre> |
| </li> |
| </ul> |
| <a id="doClose()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doClose</h4> |
| <pre class="methodSignature">protected void doClose()</pre> |
| </li> |
| </ul> |
| <a id="isOutputShutdown()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isOutputShutdown</h4> |
| <pre class="methodSignature">public boolean isOutputShutdown()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#isOutputShutdown()">EndPoint</a></code></span></div> |
| <div class="block">Test if output is shutdown. |
| The output is shutdown by a call to <a href="EndPoint.html#shutdownOutput()"><code>EndPoint.shutdownOutput()</code></a> |
| or <a href="EndPoint.html#close()"><code>EndPoint.close()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#isOutputShutdown()">isOutputShutdown</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the output is shutdown or the endpoint is closed.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isInputShutdown()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isInputShutdown</h4> |
| <pre class="methodSignature">public boolean isInputShutdown()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#isInputShutdown()">EndPoint</a></code></span></div> |
| <div class="block">Test if the input is shutdown. |
| The input is shutdown if an EOF has been read while doing |
| a <a href="EndPoint.html#fill(java.nio.ByteBuffer)"><code>EndPoint.fill(ByteBuffer)</code></a>. Once the input is shutdown, all calls to |
| <a href="EndPoint.html#fill(java.nio.ByteBuffer)"><code>EndPoint.fill(ByteBuffer)</code></a> will return -1, until such time as the |
| end point is close, when they will return <a href="EofException.html" title="class in org.eclipse.jetty.io"><code>EofException</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#isInputShutdown()">isInputShutdown</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the input is shutdown or the endpoint is closed.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isOpen()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isOpen</h4> |
| <pre class="methodSignature">public boolean isOpen()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="IdleTimeout.html#isOpen()">IdleTimeout</a></code></span></div> |
| <div class="block">This abstract method should be called to check if idle timeouts |
| should still be checked.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#isOpen()">isOpen</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IdleTimeout.html#isOpen()">isOpen</a></code> in class <code><a href="IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the entity monitored should still be checked for idle timeouts</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getCreatedTimeStamp()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCreatedTimeStamp</h4> |
| <pre class="methodSignature">public long getCreatedTimeStamp()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#getCreatedTimeStamp()">getCreatedTimeStamp</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the epoch time in milliseconds when this EndPoint was created</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getConnection()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConnection</h4> |
| <pre class="methodSignature">public <a href="Connection.html" title="interface in org.eclipse.jetty.io">Connection</a> getConnection()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#getConnection()">getConnection</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="Connection.html" title="interface in org.eclipse.jetty.io"><code>Connection</code></a> associated with this EndPoint</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="EndPoint.html#setConnection(org.eclipse.jetty.io.Connection)"><code>EndPoint.setConnection(Connection)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setConnection(org.eclipse.jetty.io.Connection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConnection</h4> |
| <pre class="methodSignature">public void setConnection​(<a href="Connection.html" title="interface in org.eclipse.jetty.io">Connection</a> connection)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#setConnection(org.eclipse.jetty.io.Connection)">setConnection</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>connection</code> - the <a href="Connection.html" title="interface in org.eclipse.jetty.io"><code>Connection</code></a> associated with this EndPoint</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="EndPoint.html#getConnection()"><code>EndPoint.getConnection()</code></a>, |
| <a href="EndPoint.html#upgrade(org.eclipse.jetty.io.Connection)"><code>EndPoint.upgrade(Connection)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="reset()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reset</h4> |
| <pre class="methodSignature">protected void reset()</pre> |
| </li> |
| </ul> |
| <a id="onOpen()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onOpen</h4> |
| <pre class="methodSignature">public void onOpen()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#onOpen()">EndPoint</a></code></span></div> |
| <div class="block"><p>Callback method invoked when this EndPoint is opened.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#onOpen()">onOpen</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="IdleTimeout.html#onOpen()">onOpen</a></code> in class <code><a href="IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="EndPoint.html#onClose(java.lang.Throwable)"><code>EndPoint.onClose(Throwable)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onClose()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onClose</h4> |
| <pre class="methodSignature">public final void onClose()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="IdleTimeout.html#onClose()">onClose</a></code> in class <code><a href="IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onClose(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onClose</h4> |
| <pre class="methodSignature">public void onClose​(java.lang.Throwable failure)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#onClose(java.lang.Throwable)">EndPoint</a></code></span></div> |
| <div class="block"><p>Callback method invoked when this <a href="EndPoint.html" title="interface in org.eclipse.jetty.io"><code>EndPoint</code></a> is closed.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#onClose(java.lang.Throwable)">onClose</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>failure</code> - The reason for the close, or null if a normal close.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="EndPoint.html#onOpen()"><code>EndPoint.onOpen()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="fillInterested(org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fillInterested</h4> |
| <pre class="methodSignature">public void fillInterested​(<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#fillInterested(org.eclipse.jetty.util.Callback)">EndPoint</a></code></span></div> |
| <div class="block"><p>Requests callback methods to be invoked when a call to <a href="EndPoint.html#fill(java.nio.ByteBuffer)"><code>EndPoint.fill(ByteBuffer)</code></a> would return data or EOF.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#fillInterested(org.eclipse.jetty.util.Callback)">fillInterested</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>callback</code> - the callback to call when an error occurs or we are readable. The callback may implement the <a href="../util/thread/Invocable.html" title="interface in org.eclipse.jetty.util.thread"><code>Invocable</code></a> interface to |
| self declare its blocking status. Non-blocking callbacks may be called more efficiently without dispatch delays.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="tryFillInterested(org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tryFillInterested</h4> |
| <pre class="methodSignature">public boolean tryFillInterested​(<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#tryFillInterested(org.eclipse.jetty.util.Callback)">EndPoint</a></code></span></div> |
| <div class="block"><p>Requests callback methods to be invoked when a call to <a href="EndPoint.html#fill(java.nio.ByteBuffer)"><code>EndPoint.fill(ByteBuffer)</code></a> would return data or EOF.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#tryFillInterested(org.eclipse.jetty.util.Callback)">tryFillInterested</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>callback</code> - the callback to call when an error occurs or we are readable. The callback may implement the <a href="../util/thread/Invocable.html" title="interface in org.eclipse.jetty.util.thread"><code>Invocable</code></a> interface to |
| self declare its blocking status. Non-blocking callbacks may be called more efficiently without dispatch delays.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isFillInterested()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFillInterested</h4> |
| <pre class="methodSignature">public boolean isFillInterested()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#isFillInterested()">isFillInterested</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether <a href="EndPoint.html#fillInterested(org.eclipse.jetty.util.Callback)"><code>EndPoint.fillInterested(Callback)</code></a> has been called, but <a href="EndPoint.html#fill(java.nio.ByteBuffer)"><code>EndPoint.fill(ByteBuffer)</code></a> has not yet |
| been called</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="write(org.eclipse.jetty.util.Callback,java.nio.ByteBuffer...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>write</h4> |
| <pre class="methodSignature">public void write​(<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback, |
| java.nio.ByteBuffer... buffers) |
| throws java.nio.channels.WritePendingException</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#write(org.eclipse.jetty.util.Callback,java.nio.ByteBuffer...)">EndPoint</a></code></span></div> |
| <div class="block"><p>Writes the given buffers via <a href="EndPoint.html#flush(java.nio.ByteBuffer...)"><code>EndPoint.flush(ByteBuffer...)</code></a> and invokes callback methods when either |
| all the data has been flushed or an error occurs.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#write(org.eclipse.jetty.util.Callback,java.nio.ByteBuffer...)">write</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>callback</code> - the callback to call when an error occurs or the write completed. The callback may implement the <a href="../util/thread/Invocable.html" title="interface in org.eclipse.jetty.util.thread"><code>Invocable</code></a> interface to |
| self declare its blocking status. Non-blocking callbacks may be called more efficiently without dispatch delays.</dd> |
| <dd><code>buffers</code> - one or more <code>ByteBuffer</code>s that will be flushed.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.nio.channels.WritePendingException</code> - if another write operation is concurrent.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onIncompleteFlush()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onIncompleteFlush</h4> |
| <pre class="methodSignature">protected abstract void onIncompleteFlush()</pre> |
| </li> |
| </ul> |
| <a id="needsFillInterest()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>needsFillInterest</h4> |
| <pre class="methodSignature">protected abstract void needsFillInterest() |
| throws java.io.IOException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getFillInterest()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFillInterest</h4> |
| <pre class="methodSignature">public <a href="FillInterest.html" title="class in org.eclipse.jetty.io">FillInterest</a> getFillInterest()</pre> |
| </li> |
| </ul> |
| <a id="getWriteFlusher()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWriteFlusher</h4> |
| <pre class="methodSignature">public <a href="WriteFlusher.html" title="class in org.eclipse.jetty.io">WriteFlusher</a> getWriteFlusher()</pre> |
| </li> |
| </ul> |
| <a id="onIdleExpired(java.util.concurrent.TimeoutException)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onIdleExpired</h4> |
| <pre class="methodSignature">protected void onIdleExpired​(java.util.concurrent.TimeoutException timeout)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="IdleTimeout.html#onIdleExpired(java.util.concurrent.TimeoutException)">IdleTimeout</a></code></span></div> |
| <div class="block">This abstract method is called when the idle timeout has expired.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IdleTimeout.html#onIdleExpired(java.util.concurrent.TimeoutException)">onIdleExpired</a></code> in class <code><a href="IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>timeout</code> - a TimeoutException</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="upgrade(org.eclipse.jetty.io.Connection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>upgrade</h4> |
| <pre class="methodSignature">public void upgrade​(<a href="Connection.html" title="interface in org.eclipse.jetty.io">Connection</a> newConnection)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="EndPoint.html#upgrade(org.eclipse.jetty.io.Connection)">EndPoint</a></code></span></div> |
| <div class="block"><p>Upgrades this EndPoint from the current connection to the given new connection.</p> |
| <p>Closes the current connection, links this EndPoint to the new connection and |
| then opens the new connection.</p> |
| <p>If the current connection is an instance of <a href="Connection.UpgradeFrom.html" title="interface in org.eclipse.jetty.io"><code>Connection.UpgradeFrom</code></a> then |
| a buffer of unconsumed bytes is requested. |
| If the buffer of unconsumed bytes is non-null and non-empty, then the new |
| connection is tested: if it is an instance of <a href="Connection.UpgradeTo.html" title="interface in org.eclipse.jetty.io"><code>Connection.UpgradeTo</code></a>, then |
| the unconsumed buffer is passed to the new connection; otherwise, an exception |
| is thrown since there are unconsumed bytes that cannot be consumed by the new |
| connection.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="EndPoint.html#upgrade(org.eclipse.jetty.io.Connection)">upgrade</a></code> in interface <code><a href="EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>newConnection</code> - the connection to upgrade to</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public java.lang.String toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <code>java.lang.Object</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toEndPointString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toEndPointString</h4> |
| <pre class="methodSignature">public java.lang.String toEndPointString()</pre> |
| </li> |
| </ul> |
| <a id="toConnectionString()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toConnectionString</h4> |
| <pre class="methodSignature">public java.lang.String toConnectionString()</pre> |
| </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/AbstractEndPoint.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 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </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 id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |