Commit d6037937 authored by Liang Ding's avatar Liang Ding

[GET] /register.html 改为 /register

parent 7839d204
...@@ -56,7 +56,7 @@ import org.json.JSONObject; ...@@ -56,7 +56,7 @@ import org.json.JSONObject;
* *
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a> * @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @author <a href="mailto:385321165@qq.com">DASHU</a> * @author <a href="mailto:385321165@qq.com">DASHU</a>
* @version 1.1.1.1, Mar 30, 2013 * @version 1.1.1.2, Apr 1, 2013
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
...@@ -196,7 +196,7 @@ public final class IndexProcessor { ...@@ -196,7 +196,7 @@ public final class IndexProcessor {
* @param request the specified HTTP servlet request * @param request the specified HTTP servlet request
* @param response the specified HTTP servlet response * @param response the specified HTTP servlet response
*/ */
@RequestProcessing(value = "/register.html", method = HTTPRequestMethod.GET) @RequestProcessing(value = "/register", method = HTTPRequestMethod.GET)
public void register(final HTTPRequestContext context, final HttpServletRequest request, final HttpServletResponse response) { public void register(final HTTPRequestContext context, final HttpServletRequest request, final HttpServletResponse response) {
final AbstractFreeMarkerRenderer renderer = new ConsoleRenderer(); final AbstractFreeMarkerRenderer renderer = new ConsoleRenderer();
......
...@@ -46,7 +46,7 @@ import org.json.JSONObject; ...@@ -46,7 +46,7 @@ import org.json.JSONObject;
* *
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a> * @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @author <a href="mailto:385321165@qq.com">DASHU</a> * @author <a href="mailto:385321165@qq.com">DASHU</a>
* @version 1.0.1.4, Mar 30, 2013 * @version 1.0.1.5, Apr 1, 2013
* @since 0.3.1 * @since 0.3.1
*/ */
public final class Users { public final class Users {
...@@ -207,6 +207,10 @@ public final class Users { ...@@ -207,6 +207,10 @@ public final class Users {
/** /**
* Determines whether the specified email exits in the specified users. * Determines whether the specified email exits in the specified users.
* *
* <p>
* If the email is a visitor's, returns {@code false}.
* </p>
*
* @param email the specified email * @param email the specified email
* @param users the specified user * @param users the specified user
* @return {@code true} if exists, {@code false} otherwise * @return {@code true} if exists, {@code false} otherwise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment