More javadoc fixes
This commit is contained in:
parent
dc070a00b2
commit
8edee3272a
@ -64,7 +64,7 @@ import java.lang.annotation.Target;
|
||||
* // your methods here
|
||||
* }
|
||||
*
|
||||
* public class DataServerHandler extends {@link ChannelInboundMessageHandlerAdapter}<Message> {
|
||||
* public class DataServerHandler extends {@link SimpleChannelInboundHandler}<Message> {
|
||||
*
|
||||
* <b>private boolean loggedIn;</b>
|
||||
*
|
||||
@ -113,7 +113,7 @@ import java.lang.annotation.Target;
|
||||
* }
|
||||
*
|
||||
* {@code @Sharable}
|
||||
* public class DataServerHandler extends {@link ChannelInboundMessageHandlerAdapter}<Message> {
|
||||
* public class DataServerHandler extends {@link SimpleChannelInboundHandler}<Message> {
|
||||
* private final {@link AttributeKey}<{@link Boolean}> auth =
|
||||
* new {@link AttributeKey}<{@link Boolean}>("auth");
|
||||
*
|
||||
|
@ -63,9 +63,8 @@ interface ChannelPropertyAccess {
|
||||
* Return a special ChannelPromise which can be reused for different operations.
|
||||
* <p>
|
||||
* It's only supported to use
|
||||
* it for {@link ChannelOutboundInvoker#write(Object, ChannelPromise)} ,
|
||||
* {@link ChannelOutboundInvoker#flush(ChannelPromise)} and
|
||||
* {@link ChannelOutboundInvoker#sendFile(FileRegion, ChannelPromise)}.
|
||||
* it for {@link ChannelOutboundInvoker#write(Object, ChannelPromise)} and,
|
||||
* {@link ChannelOutboundInvoker#write(MessageList, ChannelPromise)}.
|
||||
* </p>
|
||||
* <p>
|
||||
* Be aware that the returned {@link ChannelPromise} will not support most operations and should only be used
|
||||
|
@ -30,7 +30,7 @@ public interface RecvByteBufAllocator {
|
||||
*/
|
||||
Handle newHandle();
|
||||
|
||||
public interface Handle {
|
||||
interface Handle {
|
||||
/**
|
||||
* Creates a new receive buffer whose capacity is probably large enough to read all inbound data and small
|
||||
* enough not to waste its space.
|
||||
|
Loading…
Reference in New Issue
Block a user