Class TellerHandlerServlet.Handler
- java.lang.Object
-
- ejava.examples.ejbsessionbank.web.TellerHandlerServlet.Handler
-
- Direct Known Subclasses:
TellerHandlerServlet.CloseAccount,TellerHandlerServlet.CreateAccount,TellerHandlerServlet.CreateAccounts,TellerHandlerServlet.DepositAccount,TellerHandlerServlet.GetAccount,TellerHandlerServlet.GetAccounts,TellerHandlerServlet.GetLedger,TellerHandlerServlet.StealAccounts,TellerHandlerServlet.WithdrawAccount
- Enclosing class:
- TellerHandlerServlet
private abstract class TellerHandlerServlet.Handler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringACCOUNT_PARAMprotected static StringACCOUNTS_PARAMprotected static StringACCT_NUM_PARAMprotected static StringAMOUNT_PARAMprotected static StringCOUNT_PARAMprotected static StringDISPLAY_ACCOUNT_URLprotected static StringDISPLAY_ACCOUNTS_URLprotected static StringDISPLAY_EXCEPTIONprotected static StringDISPLAY_LEDGER_URLprotected static StringINDEX_PARAMprotected static StringLEDGER_PARAMprotected static StringMAIN_PAGEprotected static StringNEXT_INDEX_PARAM
-
Constructor Summary
Constructors Modifier Constructor Description privateHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidhandle(HttpServletRequest request, HttpServletResponse response, Teller t)
-
-
-
Field Detail
-
MAIN_PAGE
protected static final String MAIN_PAGE
- See Also:
- Constant Field Values
-
DISPLAY_EXCEPTION
protected static final String DISPLAY_EXCEPTION
- See Also:
- Constant Field Values
-
ACCT_NUM_PARAM
protected static final String ACCT_NUM_PARAM
- See Also:
- Constant Field Values
-
AMOUNT_PARAM
protected static final String AMOUNT_PARAM
- See Also:
- Constant Field Values
-
INDEX_PARAM
protected static final String INDEX_PARAM
- See Also:
- Constant Field Values
-
NEXT_INDEX_PARAM
protected static final String NEXT_INDEX_PARAM
- See Also:
- Constant Field Values
-
COUNT_PARAM
protected static final String COUNT_PARAM
- See Also:
- Constant Field Values
-
ACCOUNT_PARAM
protected static final String ACCOUNT_PARAM
- See Also:
- Constant Field Values
-
ACCOUNTS_PARAM
protected static final String ACCOUNTS_PARAM
- See Also:
- Constant Field Values
-
LEDGER_PARAM
protected static final String LEDGER_PARAM
- See Also:
- Constant Field Values
-
DISPLAY_ACCOUNT_URL
protected static final String DISPLAY_ACCOUNT_URL
- See Also:
- Constant Field Values
-
DISPLAY_ACCOUNTS_URL
protected static final String DISPLAY_ACCOUNTS_URL
- See Also:
- Constant Field Values
-
DISPLAY_LEDGER_URL
protected static final String DISPLAY_LEDGER_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
handle
public abstract void handle(HttpServletRequest request, HttpServletResponse response, Teller t) throws ServletException, IOException
- Throws:
ServletExceptionIOException
-
-