464727 - Update Javadoc for Java 8 DocLint

This commit is contained in:
Joakim Erdfelt 2015-04-22 12:43:22 -07:00
parent 72c0fb9a0d
commit 9e6c8eade1
7 changed files with 10 additions and 13 deletions

View File

@ -323,7 +323,7 @@ public abstract class HTTP2Session implements ISession, Parser.Listener
* * NOT_CLOSED: we move to REMOTELY_CLOSED and queue a disconnect, so
* that the content of the queue is written, and then the connection
* closed. We notify the application after being terminated.
* See {@link HTTP2Session.ControlEntry#succeeded()}
* See <code>HTTP2Session.ControlEntry#succeeded()</code>
*
* * In all other cases, we do nothing since other methods are already
* performing their actions.

View File

@ -43,13 +43,13 @@ public interface IStream extends Stream, Closeable
public ISession getSession();
/**
* @return the {@link Listener} associated with this stream
* @return the {@link org.eclipse.jetty.http2.api.Stream.Listener} associated with this stream
* @see #setListener(Listener)
*/
public Listener getListener();
/**
* @param listener the {@link Listener} associated with this stream
* @param listener the {@link org.eclipse.jetty.http2.api.Stream.Listener} associated with this stream
* @see #getListener()
*/
public void setListener(Listener listener);

View File

@ -36,7 +36,7 @@ import org.eclipse.jetty.util.Promise;
* <pre>
* Session session = ...;
* HeadersFrame frame = ...;
* Promise<Stream> promise = ...
* Promise&lt;Stream&gt; promise = ...
* session.newStream(frame, promise, new Stream.Listener.Adapter()
* {
* public void onHeaders(Stream stream, HeadersFrame frame)
@ -167,7 +167,7 @@ public interface Session
*
* @param session the session
* @param frame the RST_STREAM frame received
* @see {@link Stream.Listener#onReset(Stream, ResetFrame)}
* @see Stream.Listener#onReset(Stream, ResetFrame)
*/
public void onReset(Session session, ResetFrame frame);

View File

@ -21,7 +21,7 @@ package org.eclipse.jetty.http2.api.server;
import org.eclipse.jetty.http2.api.Session;
/**
* <p>Server-side extension of {@link Session.Listener} that exposes additional events.</p>
* <p>Server-side extension of {@link org.eclipse.jetty.http2.api.Session.Listener} that exposes additional events.</p>
*/
public interface ServerSessionListener extends Session.Listener
{

View File

@ -40,7 +40,7 @@ public class PrefaceParser
/* ------------------------------------------------------------ */
/** Unsafe upgrade is an unofficial upgrade from HTTP/1.0 to HTTP/2.0
* initiated when a the {@link HttpConnection} sees a PRI * HTTP/2.0 prefix
* initiated when a the <code>org.eclipse.jetty.server.HttpConnection</code> sees a PRI * HTTP/2.0 prefix
* that indicates a HTTP/2.0 client is attempting a h2c direct connection.
* This is not a standard HTTP/1.1 Upgrade path.
*/

View File

@ -43,7 +43,7 @@ public class ServerParser extends Parser
/* ------------------------------------------------------------ */
/** Unsafe upgrade is an unofficial upgrade from HTTP/1.0 to HTTP/2.0
* initiated when a the {@link HttpConnection} sees a PRI * HTTP/2.0 prefix
* initiated when a the <code>org.eclipse.jetty.server.HttpConnection</code> sees a PRI * HTTP/2.0 prefix
* that indicates a HTTP/2.0 client is attempting a h2c direct connection.
* This is not a standard HTTP/1.1 Upgrade path.
*/

View File

@ -29,9 +29,6 @@ import org.eclipse.jetty.http.HttpStatus;
import org.eclipse.jetty.http.HttpVersion;
import org.eclipse.jetty.http.MetaData;
/* -------------------------------------------------------- */
/* -------------------------------------------------------- */
/* -------------------------------------------------------- */
public class MetaDataBuilder
{
private final int _maxSize;
@ -173,8 +170,8 @@ public class MetaDataBuilder
/* ------------------------------------------------------------ */
/** Check that the max size will not be exceeded.
* @param length
* @param huffmanName
* @param length the length
* @param huffman the huffman name
*/
public void checkSize(int length, boolean huffman)
{