+ * See fileserver.xml
*/
public class FileServerXml
{
diff --git a/example-jetty-embedded/src/main/java/org/eclipse/jetty/embedded/ManyHandlers.java b/example-jetty-embedded/src/main/java/org/eclipse/jetty/embedded/ManyHandlers.java
index 45e512f8b62..59608de10c9 100644
--- a/example-jetty-embedded/src/main/java/org/eclipse/jetty/embedded/ManyHandlers.java
+++ b/example-jetty-embedded/src/main/java/org/eclipse/jetty/embedded/ManyHandlers.java
@@ -50,7 +50,7 @@ import org.eclipse.jetty.util.ajax.JSON;
*
{@link HandlerWrapper} which will nest one handler inside another. In
* this example, the HelloHandler is nested inside a HandlerWrapper that sets
* the greeting as a request attribute.
- *
{@link ListHandler} which will call a collection of handlers until the
+ *
{@link HandlerList} which will call a collection of handlers until the
* request is marked as handled. In this example, a list is used to combine the
* param handler (which only handles the request if there are parameters) and
* the wrapper handler. Frequently handler lists are terminated with the
diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java
index 7cd647a4dbb..5c1338c66f8 100644
--- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java
+++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java
@@ -499,7 +499,6 @@ public class AnnotationParser
* Only class files in jar files will be scanned.
* @param loader
* @param visitParents
- * @param jarNamePattern
* @param nullInclusive
* @param resolver
* @throws Exception
diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ClassNameResolver.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ClassNameResolver.java
index a76544306dd..9aa6f3ea079 100644
--- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ClassNameResolver.java
+++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ClassNameResolver.java
@@ -21,7 +21,7 @@ public interface ClassNameResolver
* Based on the execution context, should the class represented
* by "name" be excluded from consideration?
* @param name
- * @return
+ * @return true if classname is excluded
*/
public boolean isExcluded (String name);
@@ -31,7 +31,7 @@ public interface ClassNameResolver
* represented by "name" is detected, should the existing
* one be overridden or not?
* @param name
- * @return
+ * @return true if name should be overridden
*/
public boolean shouldOverride (String name);
}
diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java
index 8e80112662c..b506dac71fa 100644
--- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java
+++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java
@@ -187,7 +187,6 @@ public class ResourceAnnotationHandler implements AnnotationHandler
*
* This will generate a JNDI entry, and an Injection to be
* processed when an instance of the class is created.
- * @param injections
*/
public void handleMethod(String className, String methodName, int access, String desc, String signature, String[] exceptions, String annotation,
List values)
diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/Util.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/Util.java
index 34ebe8d52e4..d1ad40bbf4d 100644
--- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/Util.java
+++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/Util.java
@@ -21,8 +21,6 @@ import org.objectweb.asm.Type;
/**
* Util
- *
- *
*/
public class Util
{
@@ -37,8 +35,16 @@ public class Util
/**
* Check if the presented method belongs to a class that is one
* of the classes with which a servlet container should be concerned.
- * @param m
- * @return
+ * @param c
+ * @return true if class is a type of one of the following:
+ * ({@link javax.servlet.Servlet},
+ * {@link javax.servlet.Filter},
+ * {@link javax.servlet.ServletContextListener},
+ * {@link javax.servlet.ServletContextAttributeListener},
+ * {@link javax.servlet.ServletRequestListener},
+ * {@link javax.servlet.ServletRequestAttributeListener},
+ * {@link javax.servlet.http.HttpSessionListener},
+ * {@link javax.servlet.http.HttpSessionAttributeListener})
*/
public static boolean isServletType (Class c)
{
diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java
index 0ee716cf163..1a5edc296b8 100644
--- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java
+++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java
@@ -75,11 +75,8 @@ import org.eclipse.jetty.util.thread.Timeout;
* be allocated from a destination, so that multiple request sources are not multiplexed
* over the same connection.
*
- *
- *
- *
- * @see {@link HttpExchange}
- * @see {@link HttpDestination}
+ * @see HttpExchange
+ * @see HttpDestination
*/
public class HttpClient extends HttpBuffers implements Attributes
{
@@ -212,10 +209,6 @@ public class HttpClient extends HttpBuffers implements Attributes
}
/* ------------------------------------------------------------ */
- /**
- * @param name
- * @return
- */
public void clearAttributes()
{
_attributes.clearAttributes();
@@ -287,7 +280,7 @@ public class HttpClient extends HttpBuffers implements Attributes
/**
* returns the SecurityRealmResolver reg_realmResolveristered with the HttpClient or null
*
- * @return
+ * @return the SecurityRealmResolver reg_realmResolveristered with the HttpClient or null
*/
public RealmResolver getRealmResolver()
{
diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java
index 20b880fa2de..2a1039d7d52 100644
--- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java
+++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java
@@ -54,8 +54,8 @@ import org.eclipse.jetty.util.log.Log;
* see {@link org.eclipse.jetty.client.ContentExchange} and {@link org.eclipse.jetty.client.CachedExchange}.
*
*
Typically the HttpExchange is passed to the {@link HttpClient#send(HttpExchange)} method, which in
- * turn selects a {@link HttpDestination} and calls its {@link HttpDestination#send(HttpExchange), which
- * then creates or selects a {@link HttpConnection} and calls its {@link HttpConnection#send(HttpExchange).
+ * turn selects a {@link HttpDestination} and calls its {@link HttpDestination#send(HttpExchange)}, which
+ * then creates or selects a {@link HttpConnection} and calls its {@link HttpConnection#send(HttpExchange)}.
* A developer may wish to directly call send on the destination or connection if they wish to bypass
* some handling provided (eg Cookie handling in the HttpDestination).
*
@@ -130,7 +130,7 @@ public class HttpExchange
* || onExpire
* || onRequestComplete && onResponseComplete
*
- * @return
+ * @return the done status
* @throws InterruptedException
*/
public int waitForDone () throws InterruptedException
diff --git a/jetty-continuation/src/main/java/org/eclipse/jetty/continuation/Continuation.java b/jetty-continuation/src/main/java/org/eclipse/jetty/continuation/Continuation.java
index 4811b8f11ce..c60e6e110e3 100644
--- a/jetty-continuation/src/main/java/org/eclipse/jetty/continuation/Continuation.java
+++ b/jetty-continuation/src/main/java/org/eclipse/jetty/continuation/Continuation.java
@@ -27,10 +27,10 @@ import javax.servlet.ServletResponseWrapper;
* A continuation is a mechanism by which a HTTP Request can be suspended and
* restarted after a timeout or an asynchronous event has occurred.
*
- * The continuation mechanism is a portable mechansim that will work
- * asychronously without additional configuration of all jetty-7,
+ * The continuation mechanism is a portable mechanism that will work
+ * asynchronously without additional configuration of all jetty-7,
* jetty-8 and Servlet 3.0 containers. With the addition of
- * the {@link ContinuationFilter}, the mechansism will also work
+ * the {@link ContinuationFilter}, the mechanism will also work
* asynchronously on jetty-6 and non-asynchronously on any
* servlet 2.5 container.
*
* If a continuation is suspended, but neither {@link #complete()} or {@link #resume()} is
- * called during the period set by {@link #setTimeout()}, then the continuation will
+ * called during the period set by {@link #setTimeout(long)}, then the continuation will
* expire and {@link #isExpired()} will return true.
*
*
@@ -245,7 +245,7 @@ public interface Continuation
* within the filter chain and/or servlet service method), then the resume
* does not take effect until the call to the filter chain and/or servlet
* returns to the container. In this case both {@link #isSuspended()} and
- * {@link isResumed()} return true. Multiple calls to resume are ignored.
+ * {@link #isResumed()} return true. Multiple calls to resume are ignored.
*
*
* Typically resume() is used after a call to {@link #suspend()} with
@@ -276,7 +276,7 @@ public interface Continuation
* within the filter chain and/or servlet service method), then the complete
* does not take effect until the call to the filter chain and/or servlet
* returns to the container. In this case both {@link #isSuspended()} and
- * {@link isResumed()} return true.
+ * {@link #isResumed()} return true.
*
*
*
diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java
index 3d660700f5f..006e3fc1faf 100644
--- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java
+++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java
@@ -26,18 +26,6 @@ import org.eclipse.jetty.io.BufferCache.CachedBuffer;
import org.eclipse.jetty.util.StringUtil;
import org.eclipse.jetty.util.log.Log;
-/* ------------------------------------------------------------------------------- */
-/**
- *
- */
-
-/* ------------------------------------------------------------ */
-/**
- */
-
-/* ------------------------------------------------------------ */
-/**
- */
public class HttpParser implements Parser
{
// States
@@ -110,8 +98,9 @@ public class HttpParser implements Parser
/* ------------------------------------------------------------------------------- */
/**
* Constructor.
- * @param headerBufferSize size in bytes of header buffer
- * @param contentBufferSize size in bytes of content buffer
+ * @param buffers the buffers to use
+ * @param endp the endpoint
+ * @param handler the even handler
*/
public HttpParser(Buffers buffers, EndPoint endp, EventHandler handler)
{
diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java
index 6e7fd2d90df..af9f1a2eb36 100644
--- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java
+++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java
@@ -256,7 +256,7 @@ import org.eclipse.jetty.util.TypeUtil;
*
*
*
@@ -504,7 +504,7 @@ import org.eclipse.jetty.util.TypeUtil;
* Sec. 10.3
*
*
- *
{@link #LOCKED}
+ *
{@link #LOCKED_423}
*
423
*
Locked
*
diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java
index 27dabf08467..abd91be1752 100644
--- a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java
+++ b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java
@@ -99,7 +99,6 @@ public abstract class SelectorManager extends AbstractLifeCycle
/** Register a channel
* @param channel
* @param att Attached Object
- * @throws IOException
*/
public void register(SocketChannel channel, Object att)
{
@@ -121,7 +120,6 @@ public abstract class SelectorManager extends AbstractLifeCycle
/* ------------------------------------------------------------ */
/** Register a {@link ServerSocketChannel}
* @param acceptChannel
- * @throws IOException
*/
public void register(ServerSocketChannel acceptChannel)
{
diff --git a/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/ContextFactory.java b/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/ContextFactory.java
index ca00153e1b0..75e626a72c1 100644
--- a/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/ContextFactory.java
+++ b/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/ContextFactory.java
@@ -151,7 +151,7 @@ public class ContextFactory implements ObjectFactory
* Keep trying ancestors of the given classloader to find one to which
* the context is bound.
* @param loader
- * @return
+ * @return the context from the parent class loader
*/
public Context getParentClassLoaderContext (ClassLoader loader)
{
diff --git a/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/NamingUtil.java b/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/NamingUtil.java
index df635a6eabc..0f2cf7bb185 100644
--- a/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/NamingUtil.java
+++ b/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/NamingUtil.java
@@ -41,11 +41,11 @@ public class NamingUtil
/* ------------------------------------------------------------ */
/**
- * Bind an object to a context ensuring all subcontexts
+ * Bind an object to a context ensuring all sub-contexts
* are created if necessary
*
* @param ctx the context into which to bind
- * @param name the name relative to context to bind
+ * @param nameStr the name relative to context to bind
* @param obj the object to be bound
* @exception NamingException if an error occurs
*/
diff --git a/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/factories/MailSessionReference.java b/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/factories/MailSessionReference.java
index 80e95d677b5..e6ff384f548 100644
--- a/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/factories/MailSessionReference.java
+++ b/jetty-jndi/src/main/java/org/eclipse/jetty/jndi/factories/MailSessionReference.java
@@ -111,7 +111,7 @@ public class MailSessionReference extends Reference implements ObjectFactory
* @param arg1 not used
* @param arg2 not used
* @param arg3 not used
- * @return
+ * @return the object found
* @throws Exception
*/
public Object getObjectInstance(Object ref, Name arg1, Context arg2, Hashtable arg3) throws Exception
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java
index 2c03312645c..4b9c83ac1b7 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java
@@ -183,7 +183,6 @@ public class Injection
/**
* Inject a value for a Resource from JNDI into an object
* @param injectable
- * @throws Exception
*/
public void inject (Object injectable)
{
@@ -214,8 +213,8 @@ public class Injection
/**
* The Resource must already exist in the ENC of this webapp.
- * @return
- * @throws Exception
+ * @return the injected valud
+ * @throws NamingException
*/
public Object lookupInjectedValue ()
throws NamingException
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/LifeCycleCallback.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/LifeCycleCallback.java
index 0554901f46a..d0df01730b2 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/LifeCycleCallback.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/LifeCycleCallback.java
@@ -122,7 +122,7 @@ public abstract class LifeCycleCallback
* @param clazz the class under inspection
* @param methodName the method to find
* @param checkInheritance false on first entry, true if a superclass is being introspected
- * @return
+ * @return the method
*/
public Method findMethod (Package pack, Class clazz, String methodName, boolean checkInheritance)
{
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/AbstractLoginModule.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/AbstractLoginModule.java
index b531f7cc02b..dc6cd9975ec 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/AbstractLoginModule.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/AbstractLoginModule.java
@@ -165,7 +165,7 @@ public abstract class AbstractLoginModule implements LoginModule
/**
* @see javax.security.auth.spi.LoginModule#commit()
- * @return
+ * @return true if committed, false if not (likely not authenticated)
* @throws LoginException
*/
public boolean commit() throws LoginException
@@ -201,7 +201,7 @@ public abstract class AbstractLoginModule implements LoginModule
/**
* @see javax.security.auth.spi.LoginModule#login()
- * @return
+ * @return true if is authenticated, false otherwise
* @throws LoginException
*/
public boolean login() throws LoginException
@@ -252,7 +252,7 @@ public abstract class AbstractLoginModule implements LoginModule
/**
* @see javax.security.auth.spi.LoginModule#logout()
- * @return
+ * @return true always
* @throws LoginException
*/
public boolean logout() throws LoginException
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/DataSourceLoginModule.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/DataSourceLoginModule.java
index 668c01916fc..95926c30a25 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/DataSourceLoginModule.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/DataSourceLoginModule.java
@@ -27,8 +27,7 @@ import javax.sql.DataSource;
* A LoginModule that uses a DataSource to retrieve user authentication
* and authorisation information.
*
- * @see org.eclipse.jetty.server.server.plus.jaas.spi.JDBCLoginModule
- *
+ * @see JDBCLoginModule
*/
public class DataSourceLoginModule extends AbstractDatabaseLoginModule
{
@@ -68,8 +67,8 @@ public class DataSourceLoginModule extends AbstractDatabaseLoginModule
/**
* Get a connection from the DataSource
- * @see org.eclipse.jetty.server.server.plus.jaas.spi.AbstractDatabaseLoginModule#getConnection()
- * @return
+ * @see AbstractDatabaseLoginModule#getConnection()
+ * @return the connection for the datasource
* @throws Exception
*/
public Connection getConnection ()
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/JDBCLoginModule.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/JDBCLoginModule.java
index 52421486548..31a799861de 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/JDBCLoginModule.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/JDBCLoginModule.java
@@ -36,13 +36,9 @@ import org.eclipse.jetty.util.log.Log;
*
*
Usage
*
- */
-/*
*
*
- * @see
* @version 1.0 Tue Apr 15 2003
- *
*/
public class JDBCLoginModule extends AbstractDatabaseLoginModule
{
@@ -52,14 +48,10 @@ public class JDBCLoginModule extends AbstractDatabaseLoginModule
private String dbPassword;
-
-
-
-
/**
* Get a connection from the DriverManager
- * @see org.eclipse.jetty.server.server.plus.jaas.spi.AbstractDatabaseLoginModule#getConnection()
- * @return
+ * @see AbstractDatabaseLoginModule#getConnection()
+ * @return the connection for this datasource
* @throws Exception
*/
public Connection getConnection ()
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java
index ca009978e97..918f08295eb 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java
@@ -182,7 +182,7 @@ public class LdapLoginModule extends AbstractLoginModule
* roles are also an optional concept if required
*
* @param username
- * @return
+ * @return the userinfo for the username
* @throws Exception
*/
public UserInfo getUserInfo(String username) throws Exception
@@ -367,7 +367,7 @@ public class LdapLoginModule extends AbstractLoginModule
* then we try a binding authentication check, otherwise if we have the users encoded password then
* we can try authentication via that mechanic
*
- * @return
+ * @return true if authenticated, false otherwise
* @throws LoginException
*/
public boolean login() throws LoginException
@@ -451,13 +451,13 @@ public class LdapLoginModule extends AbstractLoginModule
/**
* binding authentication check
- * This methode of authentication works only if the user branch of the DIT (ldap tree)
- * has an ACI (acces control instruction) that allow the access to any user or at least
+ * This method of authentication works only if the user branch of the DIT (ldap tree)
+ * has an ACI (access control instruction) that allow the access to any user or at least
* for the user that logs in.
*
* @param username
* @param password
- * @return
+ * @return true always
* @throws LoginException
*/
public boolean bindingLogin(String username, Object password) throws LoginException, NamingException
@@ -610,7 +610,7 @@ public class LdapLoginModule extends AbstractLoginModule
/**
* get the context for connection
*
- * @return
+ * @return the environment details for the context
*/
public Hashtable