Minor corrections to Http2 example javadocs.
Motivation: There are a few very minor issues in the Http2 examples javadoc and since I don't think that these javadocs are published this is very much optional to include. Modifications: Updated the @see according to [1] to avoid warning when generating javadocs. Result: No warning when generating javadocs. [1] http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/javadoc.html#@see
This commit is contained in:
parent
8fbc513da7
commit
026cc0dccb
@ -40,7 +40,7 @@ public class Http2SettingsHandler extends SimpleChannelInboundHandler<Http2Setti
|
||||
* handshake to complete.
|
||||
*
|
||||
* @param timeout Time to wait
|
||||
* @param Units for {@code timeout}
|
||||
* @param unit {@link TimeUnit} for {@code timeout}
|
||||
* @throws Exception if timeout or other failure occurs
|
||||
*/
|
||||
public void awaitSettings(long timeout, TimeUnit unit) throws Exception {
|
||||
|
@ -45,7 +45,7 @@ public class HttpResponseHandler extends SimpleChannelInboundHandler<FullHttpRes
|
||||
* @param streamId The stream for which a response is expected
|
||||
* @param promise The promise object that will be used to wait/notify events
|
||||
* @return The previous object associated with {@code streamId}
|
||||
* @see {@link io.netty.example.http2.client.HttpResponseHandler#awaitResponses awaitResponses}
|
||||
* @see HttpResponseHandler#awaitResponses(long, TimeUnit)
|
||||
*/
|
||||
public ChannelPromise put(int streamId, ChannelPromise promise) {
|
||||
return streamidPromiseMap.put(streamId, promise);
|
||||
@ -56,7 +56,7 @@ public class HttpResponseHandler extends SimpleChannelInboundHandler<FullHttpRes
|
||||
*
|
||||
* @param timeout Value of time to wait for each response
|
||||
* @param unit Units associated with {@code timeout}
|
||||
* @see {@link io.netty.example.http2.client.HttpResponseHandler#put put}
|
||||
* @see HttpResponseHandler#put(int, ChannelPromise)
|
||||
*/
|
||||
public void awaitResponses(long timeout, TimeUnit unit) {
|
||||
Iterator<Entry<Integer, ChannelPromise>> itr = streamidPromiseMap.entrySet().iterator();
|
||||
|
Loading…
Reference in New Issue
Block a user