|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.tmaj.servlet.request.BaseRequest
edu.jhu.tmaj.servlet.request.impl.LogoutRequest
public final class LogoutRequest
Purely for logging purposes, this request ensures that a record will be appear in the log when a user logs out. A user logs out by closing the main screen of an application. We want to know when users log out so we don't accidently upload a new version while somebody is using the application. If we did this they would still have the same client code, but the server code would be different.
| Field Summary |
|---|
| Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest |
|---|
password, username |
| Constructor Summary | |
|---|---|
LogoutRequest()
|
|
| Method Summary | |
|---|---|
CommandResponse |
processRequest(UserBean userBean)
This request is executed on the server assuming the username and password returns a valid UserBean. |
java.lang.String |
toString()
|
| Methods inherited from class edu.jhu.tmaj.servlet.request.BaseRequest |
|---|
executeCommand, getPassword, getUsername |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LogoutRequest()
| Method Detail |
|---|
public CommandResponse processRequest(UserBean userBean)
throws java.sql.SQLException
BaseRequest
processRequest in class BaseRequestjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||