jetty-9 javadoc

This commit is contained in:
Greg Wilkins 2012-11-29 13:29:12 +11:00
parent 249068551f
commit 16844eafc5
1 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,8 @@ public class ServerConnector extends AbstractNetworkConnector
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/** Set the Server instance to be used with {@link #ServerConnector()} /** Set the Server instance to be used with {@link #ServerConnector()}
* by callers from this thread. * by callers from this thread. After use, the thread server should be
* set to null to avoid leaking the server.
* @param server The server * @param server The server
*/ */
public static void setThreadServer(Server server) public static void setThreadServer(Server server)
@ -103,6 +104,7 @@ public class ServerConnector extends AbstractNetworkConnector
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/** Set the Server instance to be used with {@link #ServerConnector()} /** Set the Server instance to be used with {@link #ServerConnector()}
* by calling threads that have not called {@link #setThreadServer(Server)}. * by calling threads that have not called {@link #setThreadServer(Server)}.
* After use, the default server should be set to null to avoid leaking the server.
* @param server The server * @param server The server
*/ */
public static void setDefaultServer(Server server) public static void setDefaultServer(Server server)