blob: 8a52d89a65ce0ae2c12fe268568931bc026012a6 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.11) on Mon Oct 11 11:08:51 CDT 2021 -->
<title>HttpChannel.Listener (Eclipse Jetty API Doc - v10.0.7)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-10-11">
<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="HttpChannel.Listener (Eclipse Jetty API Doc - v10.0.7)";
}
}
catch(err) {
}
//-->
var data = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default 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/HttpChannel.Listener.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>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&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>Constr&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.server</a></div>
<h2 title="Interface HttpChannel.Listener" class="title">Interface HttpChannel.Listener</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code>java.util.EventListener</code></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="HttpChannel.TransientListeners.html" title="class in org.eclipse.jetty.server">HttpChannel.TransientListeners</a></code>, <code><a href="HttpChannelListeners.html" title="class in org.eclipse.jetty.server">HttpChannelListeners</a></code></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></dd>
</dl>
<hr>
<pre>public static interface <span class="typeNameLabel">HttpChannel.Listener</span>
extends java.util.EventListener</pre>
<div class="block"><p>Listener for <a href="HttpChannel.html" title="class in org.eclipse.jetty.server"><code>HttpChannel</code></a> events.</p>
<p>HttpChannel will emit events for the various phases it goes through while
processing an HTTP request and response.</p>
<p>Implementations of this interface may listen to those events to track
timing and/or other values such as request URI, etc.</p>
<p>The events parameters, especially the <a href="Request.html" title="class in org.eclipse.jetty.server"><code>Request</code></a> object, may be
in a transient state depending on the event, and not all properties/features
of the parameters may be available inside a listener method.</p>
<p>It is recommended that the event parameters are <em>not</em> acted upon
in the listener methods, or undefined behavior may result. For example, it
would be a bad idea to try to read some content from the
<code>ServletInputStream</code> in listener methods. On the other
hand, it is legit to store request attributes in one listener method that
may be possibly retrieved in another listener method in a later event.</p>
<p>Listener methods are invoked synchronously from the thread that is
performing the request processing, and they should not call blocking code
(otherwise the request processing will be blocked as well).</p>
<p>Listener instances that are set as a bean on the <a href="Connector.html" title="interface in org.eclipse.jetty.server"><code>Connector</code></a> are
efficiently added to <a href="HttpChannel.html" title="class in org.eclipse.jetty.server"><code>HttpChannel</code></a>. If additional listeners are added
using the deprecated <a href="HttpChannel.html#addListener(org.eclipse.jetty.server.HttpChannel.Listener)"><code>HttpChannel.addListener(Listener)</code></a></p> method,
then an instance of <a href="HttpChannel.TransientListeners.html" title="class in org.eclipse.jetty.server"><code>HttpChannel.TransientListeners</code></a> must be added to the connector
in order for them to be invoked.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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="t5" class="tableTab"><span><a href="javascript:show(16);">Default 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>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onAfterDispatch(org.eclipse.jetty.server.Request)">onAfterDispatch</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked just after the application returns from the first invocation.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onBeforeDispatch(org.eclipse.jetty.server.Request)">onBeforeDispatch</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked just before calling the application.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onComplete(org.eclipse.jetty.server.Request)">onComplete</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked when the request <em>and</em> response processing are complete.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onDispatchFailure(org.eclipse.jetty.server.Request,java.lang.Throwable)">onDispatchFailure</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.lang.Throwable&nbsp;failure)</code></th>
<td class="colLast">
<div class="block">Invoked when the application threw an exception.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onRequestBegin(org.eclipse.jetty.server.Request)">onRequestBegin</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked just after the HTTP request line and headers have been parsed.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onRequestContent(org.eclipse.jetty.server.Request,java.nio.ByteBuffer)">onRequestContent</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.nio.ByteBuffer&nbsp;content)</code></th>
<td class="colLast">
<div class="block">Invoked every time a request content chunk has been parsed, just before
making it available to the application.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onRequestContentEnd(org.eclipse.jetty.server.Request)">onRequestContentEnd</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked when the end of the request content is detected.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onRequestEnd(org.eclipse.jetty.server.Request)">onRequestEnd</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked when the request has been fully parsed.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onRequestFailure(org.eclipse.jetty.server.Request,java.lang.Throwable)">onRequestFailure</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.lang.Throwable&nbsp;failure)</code></th>
<td class="colLast">
<div class="block">Invoked when the request processing failed.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onRequestTrailers(org.eclipse.jetty.server.Request)">onRequestTrailers</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked when the request trailers have been parsed.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onResponseBegin(org.eclipse.jetty.server.Request)">onResponseBegin</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked just before the response line is written to the network.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onResponseCommit(org.eclipse.jetty.server.Request)">onResponseCommit</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked just after the response is committed (that is, the response
line, headers and possibly some content have been written to the
network).</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onResponseContent(org.eclipse.jetty.server.Request,java.nio.ByteBuffer)">onResponseContent</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.nio.ByteBuffer&nbsp;content)</code></th>
<td class="colLast">
<div class="block">Invoked after a response content chunk has been written to the network.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onResponseEnd(org.eclipse.jetty.server.Request)">onResponseEnd</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</code></th>
<td class="colLast">
<div class="block">Invoked when the response has been fully written.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onResponseFailure(org.eclipse.jetty.server.Request,java.lang.Throwable)">onResponseFailure</a></span>&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.lang.Throwable&nbsp;failure)</code></th>
<td class="colLast">
<div class="block">Invoked when the response processing failed.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="onRequestBegin(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onRequestBegin</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onRequestBegin&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked just after the HTTP request line and headers have been parsed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onBeforeDispatch(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onBeforeDispatch</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onBeforeDispatch&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked just before calling the application.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onDispatchFailure(org.eclipse.jetty.server.Request,java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onDispatchFailure</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onDispatchFailure&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.lang.Throwable&nbsp;failure)</pre>
<div class="block">Invoked when the application threw an exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
<dd><code>failure</code> - the exception thrown by the application</dd>
</dl>
</li>
</ul>
<a id="onAfterDispatch(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onAfterDispatch</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onAfterDispatch&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked just after the application returns from the first invocation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onRequestContent(org.eclipse.jetty.server.Request,java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onRequestContent</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onRequestContent&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.nio.ByteBuffer&nbsp;content)</pre>
<div class="block">Invoked every time a request content chunk has been parsed, just before
making it available to the application.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
<dd><code>content</code> - a <code>slice</code> of the request content chunk</dd>
</dl>
</li>
</ul>
<a id="onRequestContentEnd(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onRequestContentEnd</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onRequestContentEnd&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked when the end of the request content is detected.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onRequestTrailers(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onRequestTrailers</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onRequestTrailers&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked when the request trailers have been parsed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onRequestEnd(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onRequestEnd</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onRequestEnd&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked when the request has been fully parsed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onRequestFailure(org.eclipse.jetty.server.Request,java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onRequestFailure</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onRequestFailure&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.lang.Throwable&nbsp;failure)</pre>
<div class="block">Invoked when the request processing failed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
<dd><code>failure</code> - the request failure</dd>
</dl>
</li>
</ul>
<a id="onResponseBegin(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onResponseBegin</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onResponseBegin&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked just before the response line is written to the network.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onResponseCommit(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onResponseCommit</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onResponseCommit&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked just after the response is committed (that is, the response
line, headers and possibly some content have been written to the
network).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onResponseContent(org.eclipse.jetty.server.Request,java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onResponseContent</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onResponseContent&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.nio.ByteBuffer&nbsp;content)</pre>
<div class="block">Invoked after a response content chunk has been written to the network.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
<dd><code>content</code> - a <code>slice</code> of the response content chunk</dd>
</dl>
</li>
</ul>
<a id="onResponseEnd(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onResponseEnd</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onResponseEnd&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked when the response has been fully written.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
</dl>
</li>
</ul>
<a id="onResponseFailure(org.eclipse.jetty.server.Request,java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onResponseFailure</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onResponseFailure&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request,
java.lang.Throwable&nbsp;failure)</pre>
<div class="block">Invoked when the response processing failed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</dd>
<dd><code>failure</code> - the response failure</dd>
</dl>
</li>
</ul>
<a id="onComplete(org.eclipse.jetty.server.Request)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onComplete</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onComplete&#8203;(<a href="Request.html" title="class in org.eclipse.jetty.server">Request</a>&nbsp;request)</pre>
<div class="block">Invoked when the request <em>and</em> response processing are complete.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - the request object</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/HttpChannel.Listener.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>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&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>Constr&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>