Just a couple of minor javadoc fixes
This commit is contained in:
parent
900353af52
commit
4095cb253a
@ -67,7 +67,7 @@ import java.util.List;
|
||||
* // In your {@link ChannelInitializer}:
|
||||
* {@link ChannelPipeline} p = channel.pipeline();
|
||||
* {@link SslContext} sslCtx = {@link SslContextBuilder#forServer(File, File) SslContextBuilder.forServer(...)}.build();
|
||||
* p.addLast("ssl", {@link #newEngine(ByteBufAllocator) sslCtx.newEngine(channel.alloc())});
|
||||
* p.addLast("ssl", {@link #newHandler(ByteBufAllocator) sslCtx.newHandler(channel.alloc())});
|
||||
* ...
|
||||
* </pre>
|
||||
*
|
||||
@ -76,7 +76,7 @@ import java.util.List;
|
||||
* // In your {@link ChannelInitializer}:
|
||||
* {@link ChannelPipeline} p = channel.pipeline();
|
||||
* {@link SslContext} sslCtx = {@link SslContextBuilder#forClient() SslContextBuilder.forClient()}.build();
|
||||
* p.addLast("ssl", {@link #newEngine(ByteBufAllocator, String, int) sslCtx.newEngine(channel.alloc(), host, port)});
|
||||
* p.addLast("ssl", {@link #newHandler(ByteBufAllocator, String, int) sslCtx.newHandler(channel.alloc(), host, port)});
|
||||
* ...
|
||||
* </pre>
|
||||
*/
|
||||
|
@ -53,7 +53,7 @@ public final class SslContextBuilder {
|
||||
* Creates a builder for new server-side {@link SslContext}.
|
||||
*
|
||||
* @param keyCertChainInputStream an input stream for an X.509 certificate chain in PEM format
|
||||
* @param keyFile an input stream for a PKCS#8 private key in PEM format
|
||||
* @param keyInputStream an input stream for a PKCS#8 private key in PEM format
|
||||
* @see #keyManager(InputStream, InputStream)
|
||||
*/
|
||||
public static SslContextBuilder forServer(InputStream keyCertChainInputStream, InputStream keyInputStream) {
|
||||
|
Loading…
Reference in New Issue
Block a user