Fix javadoc issues
Motivation: Invalid javadoc in project Modifications: Fix it Result: More correct javadoc
This commit is contained in:
parent
16267166a5
commit
1ff8c762cd
@ -92,7 +92,7 @@ public class ByteBufInputStream extends InputStream implements DataInput {
|
||||
* Creates a new stream which reads data from the specified {@code buffer}
|
||||
* starting at the current {@code readerIndex} and ending at
|
||||
* {@code readerIndex + length}.
|
||||
* @param buffer The buffer which provides the content for this {@Link InputStream}.
|
||||
* @param buffer The buffer which provides the content for this {@link InputStream}.
|
||||
* @param length The length of the buffer to use for this {@link InputStream}.
|
||||
* @param releaseOnClose {@code true} means that when {@link #close()} is called then {@link ByteBuf#release()} will
|
||||
* be called on {@code buffer}.
|
||||
|
@ -32,8 +32,9 @@ import java.util.Queue;
|
||||
/**
|
||||
* Acts a Thread cache for allocations. This implementation is moduled after
|
||||
* <a href="http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/jemalloc.pdf">jemalloc</a> and the descripted
|
||||
* technics of <a href="https://www.facebook.com/notes/facebook-engineering/scalable-memory-allocation-using-jemalloc/
|
||||
* 480222803919">Scalable memory allocation using jemalloc</a>.
|
||||
* technics of
|
||||
* <a href="https://www.facebook.com/notes/facebook-engineering/scalable-memory-allocation-using-jemalloc/480222803919">
|
||||
* Scalable memory allocation using jemalloc</a>.
|
||||
*/
|
||||
final class PoolThreadCache {
|
||||
|
||||
|
@ -15,6 +15,8 @@
|
||||
*/
|
||||
package io.netty.handler.codec.http;
|
||||
|
||||
import io.netty.handler.codec.http.cookie.ClientCookieDecoder;
|
||||
|
||||
/**
|
||||
* Encodes client-side {@link Cookie}s into an HTTP header value. This encoder can encode
|
||||
* the HTTP cookie version 0, 1, and 2.
|
||||
|
@ -640,7 +640,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #getHeader(HttpMessage, CharSequence, String)}
|
||||
* @see #getHeader(HttpMessage, CharSequence, String)
|
||||
*/
|
||||
public static String getHeader(HttpMessage message, String name, String defaultValue) {
|
||||
return getHeader(message, (CharSequence) name, defaultValue);
|
||||
@ -663,7 +663,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #setHeader(HttpMessage, CharSequence, Object)}
|
||||
* @see #setHeader(HttpMessage, CharSequence, Object)
|
||||
*/
|
||||
public static void setHeader(HttpMessage message, String name, Object value) {
|
||||
message.headers().set(name, value);
|
||||
@ -683,7 +683,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
|
||||
/**
|
||||
*
|
||||
* @see {@link #setHeader(HttpMessage, CharSequence, Iterable)}
|
||||
* @see #setHeader(HttpMessage, CharSequence, Iterable)
|
||||
*/
|
||||
public static void setHeader(HttpMessage message, String name, Iterable<?> values) {
|
||||
message.headers().set(name, values);
|
||||
@ -708,7 +708,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #addHeader(HttpMessage, CharSequence, Object)}
|
||||
* @see #addHeader(HttpMessage, CharSequence, Object)
|
||||
*/
|
||||
public static void addHeader(HttpMessage message, String name, Object value) {
|
||||
message.headers().add(name, value);
|
||||
@ -726,7 +726,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #removeHeader(HttpMessage, CharSequence)}
|
||||
* @see #removeHeader(HttpMessage, CharSequence)
|
||||
*/
|
||||
public static void removeHeader(HttpMessage message, String name) {
|
||||
message.headers().remove(name);
|
||||
@ -747,7 +747,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #getIntHeader(HttpMessage, CharSequence)}
|
||||
* @see #getIntHeader(HttpMessage, CharSequence)
|
||||
*/
|
||||
public static int getIntHeader(HttpMessage message, String name) {
|
||||
return getIntHeader(message, (CharSequence) name);
|
||||
@ -771,7 +771,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #getIntHeader(HttpMessage, CharSequence, int)}
|
||||
* @see #getIntHeader(HttpMessage, CharSequence, int)
|
||||
*/
|
||||
public static int getIntHeader(HttpMessage message, String name, int defaultValue) {
|
||||
return getIntHeader(message, (CharSequence) name, defaultValue);
|
||||
@ -799,7 +799,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #setIntHeader(HttpMessage, CharSequence, int)}
|
||||
* @see #setIntHeader(HttpMessage, CharSequence, int)
|
||||
*/
|
||||
public static void setIntHeader(HttpMessage message, String name, int value) {
|
||||
message.headers().set(name, value);
|
||||
@ -814,7 +814,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #setIntHeader(HttpMessage, CharSequence, Iterable)}
|
||||
* @see #setIntHeader(HttpMessage, CharSequence, Iterable)
|
||||
*/
|
||||
public static void setIntHeader(HttpMessage message, String name, Iterable<Integer> values) {
|
||||
message.headers().set(name, values);
|
||||
@ -830,7 +830,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
|
||||
/**
|
||||
*
|
||||
* @see {@link #addIntHeader(HttpMessage, CharSequence, int)}
|
||||
* @see #addIntHeader(HttpMessage, CharSequence, int)
|
||||
*/
|
||||
public static void addIntHeader(HttpMessage message, String name, int value) {
|
||||
message.headers().add(name, value);
|
||||
@ -844,7 +844,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #getDateHeader(HttpMessage, CharSequence)}
|
||||
* @see #getDateHeader(HttpMessage, CharSequence)
|
||||
*/
|
||||
public static Date getDateHeader(HttpMessage message, String name) throws ParseException {
|
||||
return getDateHeader(message, (CharSequence) name);
|
||||
@ -868,7 +868,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #getDateHeader(HttpMessage, CharSequence, Date)}
|
||||
* @see #getDateHeader(HttpMessage, CharSequence, Date)
|
||||
*/
|
||||
public static Date getDateHeader(HttpMessage message, String name, Date defaultValue) {
|
||||
return getDateHeader(message, (CharSequence) name, defaultValue);
|
||||
@ -896,7 +896,13 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
<<<<<<< HEAD
|
||||
* @see {@link #setDateHeader(HttpMessage, CharSequence, Date)}
|
||||
=======
|
||||
* @deprecated Use {@link #set(CharSequence, Object)} instead.
|
||||
*
|
||||
* @see #setDateHeader(HttpMessage, CharSequence, Date)
|
||||
>>>>>>> 0623c6c... Fix javadoc issues
|
||||
*/
|
||||
public static void setDateHeader(HttpMessage message, String name, Date value) {
|
||||
setDateHeader(message, (CharSequence) name, value);
|
||||
@ -917,7 +923,13 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
<<<<<<< HEAD
|
||||
* @see {@link #setDateHeader(HttpMessage, CharSequence, Iterable)}
|
||||
=======
|
||||
* @deprecated Use {@link #set(CharSequence, Iterable)} instead.
|
||||
*
|
||||
* @see #setDateHeader(HttpMessage, CharSequence, Iterable)
|
||||
>>>>>>> 0623c6c... Fix javadoc issues
|
||||
*/
|
||||
public static void setDateHeader(HttpMessage message, String name, Iterable<Date> values) {
|
||||
message.headers().set(name, values);
|
||||
@ -934,7 +946,13 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
<<<<<<< HEAD
|
||||
* @see {@link #addDateHeader(HttpMessage, CharSequence, Date)}
|
||||
=======
|
||||
* @deprecated Use {@link #add(CharSequence, Object)} instead.
|
||||
*
|
||||
* @see #addDateHeader(HttpMessage, CharSequence, Date)
|
||||
>>>>>>> 0623c6c... Fix javadoc issues
|
||||
*/
|
||||
public static void addDateHeader(HttpMessage message, String name, Date value) {
|
||||
message.headers().add(name, value);
|
||||
@ -1059,7 +1077,13 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
}
|
||||
|
||||
/**
|
||||
<<<<<<< HEAD
|
||||
* @see {@link #setHost(HttpMessage, CharSequence)}
|
||||
=======
|
||||
* @deprecated Use {@link #set(CharSequence, Object)} instead.
|
||||
*
|
||||
* @see #setHost(HttpMessage, CharSequence)
|
||||
>>>>>>> 0623c6c... Fix javadoc issues
|
||||
*/
|
||||
public static void setHost(HttpMessage message, String value) {
|
||||
message.headers().set(HOST_ENTITY, value);
|
||||
@ -1477,7 +1501,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
public abstract List<Map.Entry<String, String>> entries();
|
||||
|
||||
/**
|
||||
* @see {@link #contains(CharSequence)}
|
||||
* @see #contains(CharSequence)
|
||||
*/
|
||||
public abstract boolean contains(String name);
|
||||
|
||||
|
@ -15,6 +15,8 @@
|
||||
*/
|
||||
package io.netty.handler.codec.http;
|
||||
|
||||
import io.netty.handler.codec.http.cookie.ServerCookieDecoder;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -32,7 +32,7 @@ public interface HttpData extends InterfaceHttpData, ByteBufHolder {
|
||||
*
|
||||
* @param buffer
|
||||
* must be not null
|
||||
* @exception IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
void setContent(ByteBuf buffer) throws IOException;
|
||||
|
||||
@ -43,7 +43,7 @@ public interface HttpData extends InterfaceHttpData, ByteBufHolder {
|
||||
* must be not null except if last is set to False
|
||||
* @param last
|
||||
* True of the buffer is the last one
|
||||
* @exception IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
void addContent(ByteBuf buffer, boolean last) throws IOException;
|
||||
|
||||
@ -52,7 +52,7 @@ public interface HttpData extends InterfaceHttpData, ByteBufHolder {
|
||||
*
|
||||
* @param file
|
||||
* must be not null
|
||||
* @exception IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
void setContent(File file) throws IOException;
|
||||
|
||||
@ -61,7 +61,7 @@ public interface HttpData extends InterfaceHttpData, ByteBufHolder {
|
||||
*
|
||||
* @param inputStream
|
||||
* must be not null
|
||||
* @exception IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
void setContent(InputStream inputStream) throws IOException;
|
||||
|
||||
@ -88,7 +88,7 @@ public interface HttpData extends InterfaceHttpData, ByteBufHolder {
|
||||
* Returns the contents of the file item as an array of bytes.
|
||||
*
|
||||
* @return the contents of the file item as an array of bytes.
|
||||
* @exception IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
byte[] get() throws IOException;
|
||||
|
||||
@ -117,7 +117,7 @@ public interface HttpData extends InterfaceHttpData, ByteBufHolder {
|
||||
*
|
||||
* @return the contents of the file item as a String, using the default
|
||||
* character encoding.
|
||||
* @exception IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
String getString() throws IOException;
|
||||
|
||||
@ -129,7 +129,7 @@ public interface HttpData extends InterfaceHttpData, ByteBufHolder {
|
||||
* the charset to use
|
||||
* @return the contents of the file item as a String, using the specified
|
||||
* charset.
|
||||
* @exception IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
String getString(Charset encoding) throws IOException;
|
||||
|
||||
@ -157,7 +157,7 @@ public interface HttpData extends InterfaceHttpData, ByteBufHolder {
|
||||
* @param dest
|
||||
* destination file - must be not null
|
||||
* @return True if the write is successful
|
||||
* @exception IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
boolean renameTo(File dest) throws IOException;
|
||||
|
||||
|
@ -49,14 +49,14 @@ public abstract class ByteToMessageCodec<I> extends ChannelDuplexHandler {
|
||||
};
|
||||
|
||||
/**
|
||||
* @see {@link #ByteToMessageCodec(boolean)} with {@code true} as boolean parameter.
|
||||
* see {@link #ByteToMessageCodec(boolean)} with {@code true} as boolean parameter.
|
||||
*/
|
||||
protected ByteToMessageCodec() {
|
||||
this(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #ByteToMessageCodec(Class, boolean)} with {@code true} as boolean value.
|
||||
* see {@link #ByteToMessageCodec(Class, boolean)} with {@code true} as boolean value.
|
||||
*/
|
||||
protected ByteToMessageCodec(Class<? extends I> outboundMessageType) {
|
||||
this(outboundMessageType, true);
|
||||
|
@ -49,14 +49,14 @@ public abstract class MessageToByteEncoder<I> extends ChannelOutboundHandlerAdap
|
||||
private final boolean preferDirect;
|
||||
|
||||
/**
|
||||
* @see {@link #MessageToByteEncoder(boolean)} with {@code true} as boolean parameter.
|
||||
* see {@link #MessageToByteEncoder(boolean)} with {@code true} as boolean parameter.
|
||||
*/
|
||||
protected MessageToByteEncoder() {
|
||||
this(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #MessageToByteEncoder(Class, boolean)} with {@code true} as boolean value.
|
||||
* see {@link #MessageToByteEncoder(Class, boolean)} with {@code true} as boolean value.
|
||||
*/
|
||||
protected MessageToByteEncoder(Class<? extends I> outboundMessageType) {
|
||||
this(outboundMessageType, true);
|
||||
|
@ -22,7 +22,7 @@ import io.netty.buffer.ByteBufUtil;
|
||||
* Uncompresses an input {@link ByteBuf} encoded with Snappy compression into an
|
||||
* output {@link ByteBuf}.
|
||||
*
|
||||
* See http://code.google.com/p/snappy/source/browse/trunk/format_description.txt
|
||||
* See <a href="https://github.com/google/snappy/blob/master/format_description.txt">snappy format</a>.
|
||||
*/
|
||||
class Snappy {
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
* Encoder and decoder which compresses and decompresses {@link io.netty.buffer.ByteBuf}s
|
||||
* in a compression format such as <a href="http://en.wikipedia.org/wiki/Zlib">zlib</a>,
|
||||
* <a href="http://en.wikipedia.org/wiki/Gzip">gzip</a>, and
|
||||
* <a href="http://code.google.com/p/snappy/">Snappy</a>.
|
||||
* <a href="https://github.com/google/snappy">Snappy</a>.
|
||||
*/
|
||||
package io.netty.handler.codec.compression;
|
||||
// TODO Implement bzip2 and lzma handlers
|
||||
|
@ -24,8 +24,8 @@ import io.netty.handler.codec.MessageToByteEncoder;
|
||||
|
||||
/**
|
||||
* An encoder that prepends the the Google Protocol Buffers
|
||||
* <a href="http://code.google.com/apis/protocolbuffers/docs/encoding.html#varints">Base
|
||||
* 128 Varints</a> integer length field. For example:
|
||||
* <a href="https://developers.google.com/protocol-buffers/docs/encoding?csw=1#varints">Base
|
||||
* 128 Varints</a> integer length field. For example:
|
||||
* <pre>
|
||||
* BEFORE DECODE (300 bytes) AFTER DECODE (302 bytes)
|
||||
* +---------------+ +--------+---------------+
|
||||
|
@ -76,7 +76,7 @@ public final class CharsetUtil {
|
||||
* @param charset The specified charset
|
||||
* @param malformedInputAction The encoder's action for malformed-input errors
|
||||
* @param unmappableCharacterAction The encoder's action for unmappable-character errors
|
||||
* @return The encoder for the specified <code>charset</code>
|
||||
* @return The encoder for the specified {@code charset}
|
||||
*/
|
||||
public static CharsetEncoder encoder(Charset charset, CodingErrorAction malformedInputAction,
|
||||
CodingErrorAction unmappableCharacterAction) {
|
||||
@ -91,7 +91,7 @@ public final class CharsetUtil {
|
||||
*
|
||||
* @param charset The specified charset
|
||||
* @param codingErrorAction The encoder's action for malformed-input and unmappable-character errors
|
||||
* @return The encoder for the specified <code>charset</code>
|
||||
* @return The encoder for the specified {@code charset}
|
||||
*/
|
||||
public static CharsetEncoder encoder(Charset charset, CodingErrorAction codingErrorAction) {
|
||||
return encoder(charset, codingErrorAction, codingErrorAction);
|
||||
@ -101,7 +101,7 @@ public final class CharsetUtil {
|
||||
* Returns a cached thread-local {@link CharsetEncoder} for the specified {@link Charset}.
|
||||
*
|
||||
* @param charset The specified charset
|
||||
* @return The encoder for the specified <code>charset</code>
|
||||
* @return The encoder for the specified {@code charset}
|
||||
*/
|
||||
public static CharsetEncoder encoder(Charset charset) {
|
||||
checkNotNull(charset, "charset");
|
||||
@ -132,7 +132,7 @@ public final class CharsetUtil {
|
||||
* @param charset The specified charset
|
||||
* @param malformedInputAction The decoder's action for malformed-input errors
|
||||
* @param unmappableCharacterAction The decoder's action for unmappable-character errors
|
||||
* @return The decoder for the specified <code>charset</code>
|
||||
* @return The decoder for the specified {@code charset}
|
||||
*/
|
||||
public static CharsetDecoder decoder(Charset charset, CodingErrorAction malformedInputAction,
|
||||
CodingErrorAction unmappableCharacterAction) {
|
||||
@ -147,7 +147,7 @@ public final class CharsetUtil {
|
||||
*
|
||||
* @param charset The specified charset
|
||||
* @param codingErrorAction The decoder's action for malformed-input and unmappable-character errors
|
||||
* @return The decoder for the specified <code>charset</code>
|
||||
* @return The decoder for the specified {@code charset}
|
||||
*/
|
||||
public static CharsetDecoder decoder(Charset charset, CodingErrorAction codingErrorAction) {
|
||||
return decoder(charset, codingErrorAction, codingErrorAction);
|
||||
@ -157,7 +157,7 @@ public final class CharsetUtil {
|
||||
* Returns a cached thread-local {@link CharsetDecoder} for the specified {@link Charset}.
|
||||
*
|
||||
* @param charset The specified charset
|
||||
* @return The decoder for the specified <code>charset</code>
|
||||
* @return The decoder for the specified {@code charset}
|
||||
*/
|
||||
public static CharsetDecoder decoder(Charset charset) {
|
||||
checkNotNull(charset, "charset");
|
||||
|
@ -68,7 +68,7 @@ public abstract class AbstractScheduledEventExecutor extends AbstractEventExecut
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #pollScheduledTask(long)}
|
||||
* @see #pollScheduledTask(long)
|
||||
*/
|
||||
protected final Runnable pollScheduledTask() {
|
||||
return pollScheduledTask(nanoTime());
|
||||
|
@ -23,7 +23,7 @@ import java.util.concurrent.ThreadFactory;
|
||||
*/
|
||||
public class DefaultEventExecutorGroup extends MultithreadEventExecutorGroup {
|
||||
/**
|
||||
* @see {@link #DefaultEventExecutorGroup(int, ThreadFactory)}
|
||||
* @see #DefaultEventExecutorGroup(int, ThreadFactory)
|
||||
*/
|
||||
public DefaultEventExecutorGroup(int nThreads) {
|
||||
this(nThreads, null);
|
||||
|
@ -210,7 +210,7 @@ public abstract class SingleThreadEventExecutor extends AbstractScheduledEventEx
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link Queue#poll()}
|
||||
* @see Queue#poll()
|
||||
*/
|
||||
protected Runnable pollTask() {
|
||||
assert inEventLoop();
|
||||
@ -293,7 +293,7 @@ public abstract class SingleThreadEventExecutor extends AbstractScheduledEventEx
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link Queue#peek()}
|
||||
* @see Queue#peek()
|
||||
*/
|
||||
protected Runnable peekTask() {
|
||||
assert inEventLoop();
|
||||
@ -301,7 +301,7 @@ public abstract class SingleThreadEventExecutor extends AbstractScheduledEventEx
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link Queue#isEmpty()}
|
||||
* @see Queue#isEmpty()
|
||||
*/
|
||||
protected boolean hasTasks() {
|
||||
assert inEventLoop();
|
||||
@ -339,7 +339,7 @@ public abstract class SingleThreadEventExecutor extends AbstractScheduledEventEx
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link Queue#remove(Object)}
|
||||
* @see Queue#remove(Object)
|
||||
*/
|
||||
protected boolean removeTask(Runnable task) {
|
||||
if (task == null) {
|
||||
|
@ -20,42 +20,42 @@ package io.netty.util.concurrent;
|
||||
*/
|
||||
public interface ThreadProperties {
|
||||
/**
|
||||
* @see {@link Thread#getState()}.
|
||||
* @see Thread#getState()
|
||||
*/
|
||||
Thread.State state();
|
||||
|
||||
/**
|
||||
* @see {@link Thread#getPriority()}.
|
||||
* @see Thread#getPriority()
|
||||
*/
|
||||
int priority();
|
||||
|
||||
/**
|
||||
* @see {@link Thread#isInterrupted()}.
|
||||
* @see Thread#isInterrupted()
|
||||
*/
|
||||
boolean isInterrupted();
|
||||
|
||||
/**
|
||||
* @see {@link Thread#isDaemon()} ()}.
|
||||
* @see Thread#isDaemon()
|
||||
*/
|
||||
boolean isDaemon();
|
||||
|
||||
/**
|
||||
* @see {@link Thread#getName()} ()}.
|
||||
* @see Thread#getName()
|
||||
*/
|
||||
String name();
|
||||
|
||||
/**
|
||||
* @see {@link Thread#getId()}.
|
||||
* @see Thread#getId()
|
||||
*/
|
||||
long id();
|
||||
|
||||
/**
|
||||
* @see {@link Thread#getStackTrace()}.
|
||||
* @see Thread#getStackTrace()
|
||||
*/
|
||||
StackTraceElement[] stackTrace();
|
||||
|
||||
/**
|
||||
* @see {@link Thread#isAlive()}.
|
||||
* @see Thread#isAlive()
|
||||
*/
|
||||
boolean isAlive();
|
||||
}
|
||||
|
@ -88,9 +88,6 @@ public final class JdkSslClientContext extends JdkSslContext {
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use the constructors that accept {@link ApplicationProtocolConfig} or
|
||||
* {@link ApplicationProtocolNegotiator} instead.
|
||||
*
|
||||
* Creates a new instance.
|
||||
*
|
||||
* @param certChainFile an X.509 certificate chain file in PEM format.
|
||||
|
@ -21,7 +21,7 @@ import io.netty.internal.tcnative.SSLContext;
|
||||
/**
|
||||
* Stats exposed by an OpenSSL session context.
|
||||
*
|
||||
* @see <a href="https://www.openssl.org/docs/ssl/SSL_CTX_sess_number.html"><code>SSL_CTX_sess_number</code></a>
|
||||
* @see <a href="https://www.openssl.org/docs/manmaster/man3/SSL_CTX_sess_number.html">SSL_CTX_sess_number</a>
|
||||
*/
|
||||
public final class OpenSslSessionStats {
|
||||
|
||||
|
@ -22,8 +22,8 @@ import io.netty.channel.udt.nio.NioUdtProvider;
|
||||
|
||||
/**
|
||||
* The message container that is used for {@link TypeUDT#DATAGRAM} messages.
|
||||
* @see {@link NioUdtProvider#MESSAGE_CONNECTOR}
|
||||
* @see {@link NioUdtProvider#MESSAGE_RENDEZVOUS}
|
||||
* @see NioUdtProvider#MESSAGE_CONNECTOR
|
||||
* @see NioUdtProvider#MESSAGE_RENDEZVOUS
|
||||
*/
|
||||
public final class UdtMessage extends DefaultByteBufHolder {
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/**
|
||||
* UDT Transport for NIO Channels.
|
||||
* <p>
|
||||
* @see /netty/example/src/main/java/io/netty/example/udt
|
||||
* @see io.netty.example.udt
|
||||
*/
|
||||
package io.netty.channel.udt.nio;
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/**
|
||||
* UDT Transport.
|
||||
* <p>
|
||||
* @see /netty/example/src/main/java/io/netty/example/udt
|
||||
* @see io.netty.example.udt
|
||||
*/
|
||||
package io.netty.channel.udt;
|
||||
|
||||
|
@ -131,21 +131,21 @@ public abstract class AbstractBootstrap<B extends AbstractBootstrap<B, C>, C ext
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #localAddress(SocketAddress)}
|
||||
* @see #localAddress(SocketAddress)
|
||||
*/
|
||||
public B localAddress(int inetPort) {
|
||||
return localAddress(new InetSocketAddress(inetPort));
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #localAddress(SocketAddress)}
|
||||
* @see #localAddress(SocketAddress)
|
||||
*/
|
||||
public B localAddress(String inetHost, int inetPort) {
|
||||
return localAddress(SocketUtils.socketAddress(inetHost, inetPort));
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #localAddress(SocketAddress)}
|
||||
* @see #localAddress(SocketAddress)
|
||||
*/
|
||||
public B localAddress(InetAddress inetHost, int inetPort) {
|
||||
return localAddress(new InetSocketAddress(inetHost, inetPort));
|
||||
|
@ -62,7 +62,7 @@ public class Bootstrap extends AbstractBootstrap<Bootstrap, Channel> {
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #remoteAddress(SocketAddress)}
|
||||
* @see #remoteAddress(SocketAddress)
|
||||
*/
|
||||
public Bootstrap remoteAddress(String inetHost, int inetPort) {
|
||||
remoteAddress = new InetSocketAddress(inetHost, inetPort);
|
||||
@ -70,7 +70,7 @@ public class Bootstrap extends AbstractBootstrap<Bootstrap, Channel> {
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #remoteAddress(SocketAddress)}
|
||||
* @see #remoteAddress(SocketAddress)
|
||||
*/
|
||||
public Bootstrap remoteAddress(InetAddress inetHost, int inetPort) {
|
||||
remoteAddress = new InetSocketAddress(inetHost, inetPort);
|
||||
@ -128,7 +128,7 @@ public class Bootstrap extends AbstractBootstrap<Bootstrap, Channel> {
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #connect()}
|
||||
* @see #connect()
|
||||
*/
|
||||
private ChannelFuture doConnect(final SocketAddress remoteAddress, final SocketAddress localAddress) {
|
||||
final ChannelFuture regFuture = initAndRegister();
|
||||
|
@ -43,7 +43,7 @@ public abstract class MultithreadEventLoopGroup extends MultithreadEventExecutor
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link MultithreadEventExecutorGroup#MultithreadEventExecutorGroup(int, ThreadFactory, Object...)}
|
||||
* @see MultithreadEventExecutorGroup#MultithreadEventExecutorGroup(int, ThreadFactory, Object...)
|
||||
*/
|
||||
protected MultithreadEventLoopGroup(int nThreads, ThreadFactory threadFactory, Object... args) {
|
||||
super(nThreads == 0? DEFAULT_EVENT_LOOP_THREADS : nThreads, threadFactory, args);
|
||||
|
@ -51,7 +51,7 @@ public abstract class SimpleChannelInboundHandler<I> extends ChannelInboundHandl
|
||||
private final boolean autoRelease;
|
||||
|
||||
/**
|
||||
* @see {@link #SimpleChannelInboundHandler(boolean)} with {@code true} as boolean parameter.
|
||||
* see {@link #SimpleChannelInboundHandler(boolean)} with {@code true} as boolean parameter.
|
||||
*/
|
||||
protected SimpleChannelInboundHandler() {
|
||||
this(true);
|
||||
@ -69,7 +69,7 @@ public abstract class SimpleChannelInboundHandler<I> extends ChannelInboundHandl
|
||||
}
|
||||
|
||||
/**
|
||||
* @see {@link #SimpleChannelInboundHandler(Class, boolean)} with {@code true} as boolean value.
|
||||
* see {@link #SimpleChannelInboundHandler(Class, boolean)} with {@code true} as boolean value.
|
||||
*/
|
||||
protected SimpleChannelInboundHandler(Class<? extends I> inboundMessageType) {
|
||||
this(inboundMessageType, true);
|
||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
||||
public abstract class AbstractNioMessageChannel extends AbstractNioChannel {
|
||||
|
||||
/**
|
||||
* @see {@link AbstractNioChannel#AbstractNioChannel(Channel, SelectableChannel, int)}
|
||||
* @see AbstractNioChannel#AbstractNioChannel(Channel, SelectableChannel, int)
|
||||
*/
|
||||
protected AbstractNioMessageChannel(Channel parent, SelectableChannel ch, int readInterestOp) {
|
||||
super(parent, ch, readInterestOp);
|
||||
|
Loading…
Reference in New Issue
Block a user