blob: 6c25e5f8c6c8933520058d70c10e73e4dd1ff143 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Uses of Class io.grpc.netty.NettyServerBuilder (grpc-all 1.74.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.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.7.1.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class io.grpc.netty.NettyServerBuilder (grpc-all 1.74.0 API)";
}
}
catch(err) {
}
//-->
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><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">Class</a></li>
<li class="navBarCell1Rev">Use</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>
<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>
<main role="main">
<div class="header">
<h2 title="Uses of Class io.grpc.netty.NettyServerBuilder" class="title">Uses of Class<br>io.grpc.netty.NettyServerBuilder</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#io.grpc.netty">io.grpc.netty</a></th>
<td class="colLast">
<div class="block">The main transport implementation based on <a target="_blank" href="http://netty.io">Netty</a>,
for both the client and the server.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section><a id="io.grpc.netty">
<!-- -->
</a>
<h3>Uses of <a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a> in <a href="../package-summary.html">io.grpc.netty</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">io.grpc.netty</a> that return <a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#addListenAddress(java.net.SocketAddress)">addListenAddress</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net" class="externalLink">SocketAddress</a>&nbsp;listenAddress)</code></th>
<td class="colLast">
<div class="block">Adds an additional address for this server to listen on.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#bossEventLoopGroup(io.netty.channel.EventLoopGroup)">bossEventLoopGroup</a></span>&#8203;(<a href="https://netty.io/4.1/api/io/netty/channel/EventLoopGroup.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink">EventLoopGroup</a>&nbsp;group)</code></th>
<td class="colLast">
<div class="block">Provides the boss EventGroupLoop to the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#channelFactory(io.netty.channel.ChannelFactory)">channelFactory</a></span>&#8203;(<a href="https://netty.io/4.1/api/io/netty/channel/ChannelFactory.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink">ChannelFactory</a>&lt;? extends <a href="https://netty.io/4.1/api/io/netty/channel/ServerChannel.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink">ServerChannel</a>&gt;&nbsp;channelFactory)</code></th>
<td class="colLast">
<div class="block">Specifies the <a href="https://netty.io/4.1/api/io/netty/channel/ChannelFactory.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink"><code>ChannelFactory</code></a> to create <a href="https://netty.io/4.1/api/io/netty/channel/ServerChannel.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink"><code>ServerChannel</code></a> instances.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#channelType(java.lang.Class)">channelType</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;? extends <a href="https://netty.io/4.1/api/io/netty/channel/ServerChannel.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink">ServerChannel</a>&gt;&nbsp;channelType)</code></th>
<td class="colLast">
<div class="block">Specifies the channel type to use, by default we use <code>EpollServerSocketChannel</code> if
available, otherwise using <a href="https://netty.io/4.1/api/io/netty/channel/socket/nio/NioServerSocketChannel.html?is-external=true" title="class or interface in io.netty.channel.socket.nio" class="externalLink"><code>NioServerSocketChannel</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#flowControlWindow(int)">flowControlWindow</a></span>&#8203;(int&nbsp;flowControlWindow)</code></th>
<td class="colLast">
<div class="block">Sets the flow control window in bytes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#forAddress(java.net.SocketAddress)">forAddress</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net" class="externalLink">SocketAddress</a>&nbsp;address)</code></th>
<td class="colLast">
<div class="block">Creates a server builder configured with the given <a href="https://docs.oracle.com/javase/8/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net" class="externalLink"><code>SocketAddress</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#forAddress(java.net.SocketAddress,io.grpc.ServerCredentials)">forAddress</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net" class="externalLink">SocketAddress</a>&nbsp;address,
<a href="../../ServerCredentials.html" title="class in io.grpc">ServerCredentials</a>&nbsp;creds)</code></th>
<td class="colLast">
<div class="block">Creates a server builder configured with the given <a href="https://docs.oracle.com/javase/8/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net" class="externalLink"><code>SocketAddress</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#forPort(int)">forPort</a></span>&#8203;(int&nbsp;port)</code></th>
<td class="colLast">
<div class="block">Creates a server builder that will bind to the given port.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#forPort(int,io.grpc.ServerCredentials)">forPort</a></span>&#8203;(int&nbsp;port,
<a href="../../ServerCredentials.html" title="class in io.grpc">ServerCredentials</a>&nbsp;creds)</code></th>
<td class="colLast">
<div class="block">Creates a server builder that will bind to the given port.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#initialFlowControlWindow(int)">initialFlowControlWindow</a></span>&#8203;(int&nbsp;initialFlowControlWindow)</code></th>
<td class="colLast">
<div class="block">Sets the initial flow control window in bytes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#keepAliveTime(long,java.util.concurrent.TimeUnit)">keepAliveTime</a></span>&#8203;(long&nbsp;keepAliveTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a>&nbsp;timeUnit)</code></th>
<td class="colLast">
<div class="block">Sets a custom keepalive time, the delay time for sending next keepalive ping.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#keepAliveTimeout(long,java.util.concurrent.TimeUnit)">keepAliveTimeout</a></span>&#8203;(long&nbsp;keepAliveTimeout,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a>&nbsp;timeUnit)</code></th>
<td class="colLast">
<div class="block">Sets a custom keepalive timeout, the timeout for keepalive ping requests.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxConcurrentCallsPerConnection(int)">maxConcurrentCallsPerConnection</a></span>&#8203;(int&nbsp;maxCalls)</code></th>
<td class="colLast">
<div class="block">The maximum number of concurrent calls permitted for each incoming connection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxConnectionAge(long,java.util.concurrent.TimeUnit)">maxConnectionAge</a></span>&#8203;(long&nbsp;maxConnectionAge,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a>&nbsp;timeUnit)</code></th>
<td class="colLast">
<div class="block">Sets a custom max connection age, connection lasting longer than which will be gracefully
terminated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxConnectionAgeGrace(long,java.util.concurrent.TimeUnit)">maxConnectionAgeGrace</a></span>&#8203;(long&nbsp;maxConnectionAgeGrace,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a>&nbsp;timeUnit)</code></th>
<td class="colLast">
<div class="block">Sets a custom grace time for the graceful connection termination.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxConnectionIdle(long,java.util.concurrent.TimeUnit)">maxConnectionIdle</a></span>&#8203;(long&nbsp;maxConnectionIdle,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a>&nbsp;timeUnit)</code></th>
<td class="colLast">
<div class="block">Sets a custom max connection idle time, connection being idle for longer than which will be
gracefully terminated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxHeaderListSize(int)">maxHeaderListSize</a></span>&#8203;(int&nbsp;maxHeaderListSize)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <a href="../NettyServerBuilder.html#maxInboundMetadataSize(int)"><code>maxInboundMetadataSize(int)</code></a> instead</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxInboundMessageSize(int)">maxInboundMessageSize</a></span>&#8203;(int&nbsp;bytes)</code></th>
<td class="colLast">
<div class="block">Sets the maximum message size allowed to be received on the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxInboundMetadataSize(int)">maxInboundMetadataSize</a></span>&#8203;(int&nbsp;bytes)</code></th>
<td class="colLast">
<div class="block">Sets the maximum size of metadata allowed to be received.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxInboundMetadataSize(int,int)">maxInboundMetadataSize</a></span>&#8203;(int&nbsp;soft,
int&nbsp;max)</code></th>
<td class="colLast">
<div class="block">Sets the size of metadata that clients are advised to not exceed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxMessageSize(int)">maxMessageSize</a></span>&#8203;(int&nbsp;maxMessageSize)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Call <a href="../NettyServerBuilder.html#maxInboundMessageSize(int)"><code>maxInboundMessageSize(int)</code></a> instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#maxRstFramesPerWindow(int,int)">maxRstFramesPerWindow</a></span>&#8203;(int&nbsp;maxRstStream,
int&nbsp;secondsPerWindow)</code></th>
<td class="colLast">
<div class="block">Limits the rate of incoming RST_STREAM frames per connection to maxRstStream per
secondsPerWindow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#permitKeepAliveTime(long,java.util.concurrent.TimeUnit)">permitKeepAliveTime</a></span>&#8203;(long&nbsp;keepAliveTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a>&nbsp;timeUnit)</code></th>
<td class="colLast">
<div class="block">Specify the most aggressive keep-alive time clients are permitted to configure.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#permitKeepAliveWithoutCalls(boolean)">permitKeepAliveWithoutCalls</a></span>&#8203;(boolean&nbsp;permit)</code></th>
<td class="colLast">
<div class="block">Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding
RPCs on the connection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#protocolNegotiator(io.grpc.netty.ProtocolNegotiator)">protocolNegotiator</a></span>&#8203;(io.grpc.netty.ProtocolNegotiator&nbsp;protocolNegotiator)</code></th>
<td class="colLast">
<div class="block">Sets the <code>ProtocolNegotiator</code> to be used.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#sslContext(io.netty.handler.ssl.SslContext)">sslContext</a></span>&#8203;(<a href="https://netty.io/4.1/api/io/netty/handler/ssl/SslContext.html?is-external=true" title="class or interface in io.netty.handler.ssl" class="externalLink">SslContext</a>&nbsp;sslContext)</code></th>
<td class="colLast">
<div class="block">Sets the TLS context to use for encryption.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#useTransportSecurity(java.io.File,java.io.File)">useTransportSecurity</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a>&nbsp;certChain,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a>&nbsp;privateKey)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#useTransportSecurity(java.io.InputStream,java.io.InputStream)">useTransportSecurity</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;certChain,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a>&nbsp;privateKey)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#withChildOption(io.netty.channel.ChannelOption,T)">withChildOption</a></span>&#8203;(<a href="https://netty.io/4.1/api/io/netty/channel/ChannelOption.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink">ChannelOption</a>&lt;T&gt;&nbsp;option,
T&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Specifies a child channel option.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#withOption(io.netty.channel.ChannelOption,T)">withOption</a></span>&#8203;(<a href="https://netty.io/4.1/api/io/netty/channel/ChannelOption.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink">ChannelOption</a>&lt;T&gt;&nbsp;option,
T&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Specifies a channel option.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">NettyServerBuilder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NettyServerBuilder.</span><code><span class="memberNameLink"><a href="../NettyServerBuilder.html#workerEventLoopGroup(io.netty.channel.EventLoopGroup)">workerEventLoopGroup</a></span>&#8203;(<a href="https://netty.io/4.1/api/io/netty/channel/EventLoopGroup.html?is-external=true" title="class or interface in io.netty.channel" class="externalLink">EventLoopGroup</a>&nbsp;group)</code></th>
<td class="colLast">
<div class="block">Provides the worker EventGroupLoop to the server.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<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><a href="../NettyServerBuilder.html" title="class in io.grpc.netty">Class</a></li>
<li class="navBarCell1Rev">Use</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>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>