|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.justhis.control.CommandDispatcher
Instances turn a request into a command, which may then be executed.
Constructor Summary | |
CommandDispatcher(javax.servlet.ServletConfig config,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create a new instance of the dispatcher containing the parameters from the servlet request. |
Method Summary | |
java.lang.String |
executeCommand()
|
Command |
getCommand()
Get the command specified by the servlet request. |
java.util.Properties |
getProperties()
Get the servlet request properties. |
javax.servlet.http.HttpServletRequest |
getRequest()
Get the servlet request. |
javax.servlet.http.HttpServletResponse |
getResponse()
Get the servlet response. |
javax.servlet.ServletConfig |
getServletConfig()
get the Servlet config |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandDispatcher(javax.servlet.ServletConfig config, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- the servlet requestresponse
- the servlet responseMethod Detail |
public java.util.Properties getProperties()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public javax.servlet.ServletConfig getServletConfig()
public Command getCommand() throws com.justhis.util.exception.UtilException, com.justhis.util.exception.PropertiesFileReadException, com.justhis.util.exception.JavaClassRefectException
com.justhis.util.exception.UtilException
com.justhis.util.exception.PropertiesFileReadException
com.justhis.util.exception.JavaClassRefectException
public java.lang.String executeCommand() throws com.justhis.util.exception.JavaClassRefectException, com.justhis.util.exception.LogicException, java.sql.SQLException, javax.servlet.ServletException, com.justhis.util.exception.UtilException
com.justhis.util.exception.JavaClassRefectException
com.justhis.util.exception.LogicException
java.sql.SQLException
javax.servlet.ServletException
com.justhis.util.exception.UtilException
Command.execute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |