|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.web.RequestHandler
A base class for developing HTML form handlers. The controller servlet com.bea.web.ControllerServlet can be configured to delegate the processing of an HTML form to this request handler.
Nested Class Summary | |
class |
RequestHandler.PageLinkage
Utility class describing the previous and next page for any given page. |
Constructor Summary | |
RequestHandler()
|
Method Summary | |
String |
appendNullableParameterToURL(String url,
String parameter,
String value)
Helper method to append a parameter to a URL. |
void |
clear()
|
boolean |
containsField(String strField)
|
void |
debug()
|
String |
get(String strKey)
|
String |
getAdditionalExceptionMessages(Throwable t)
A method that gets called when the controller servlet is generating an error message from an exception. |
String |
getAndRemove(String strKey)
|
String |
getContent(String strContentKey)
|
String |
getContent(String strContentKey,
Object objInfo)
|
String |
getContent(String strContentKey,
Object[] aObjInfo)
|
FormFieldPair |
getFormFieldPair(String strKey)
|
String |
getLogConfigFile()
|
LogContext |
getLogContext()
|
ILogger |
getLogger()
|
String |
getMessageBundleBase()
|
ResourceBundle |
getResourceBundle()
|
UserAgent |
getUserAgent()
|
String |
getUserName()
|
protected void |
init(ServletContext servletContext)
By default, this method does nothing...however, subclasses can override this method to do any initialization using Servlet initial parameters. |
RequestHandler.PageLinkage |
peekPageLinkage()
Peek at the current 'page linkage' object on the top of the page stack. |
RequestHandler.PageLinkage |
popPageLinkage()
Pop the top 'page linkage' object off the page stack. |
void |
pushPageLinkage(RequestHandler.PageLinkage pl)
Push a new 'page linkage' object onto the page stack. |
void |
pushPageLinkage(String prevPage,
String nextPage,
String currentPage)
Utility method that creates a new PageLinkage and then calls pushPageLinkage with the newly created instance. |
String |
read(String strKey,
HttpServletRequest request)
|
void |
remove(String strKey)
|
void |
set(String strKey,
String strValue,
String strError)
|
void |
setLocale(Locale locale)
|
void |
setLogConfigFile(String strLogConfigFile)
|
void |
setLogContextName(String strLogContextName)
|
void |
setMessageBundleBase(String strMessageBundleBase)
|
void |
setUserAgent(UserAgent userAgent)
|
void |
setUserName(String strUserName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RequestHandler()
Method Detail |
public String getAdditionalExceptionMessages(Throwable t)
t
and include their message on the
message displayed to the user.
public void setUserName(String strUserName)
public String getUserName()
public UserAgent getUserAgent()
public void setUserAgent(UserAgent userAgent)
public void setMessageBundleBase(String strMessageBundleBase)
public String getMessageBundleBase()
public void setLogConfigFile(String strLogConfigFile)
public String getLogConfigFile()
public void setLocale(Locale locale)
public ResourceBundle getResourceBundle()
public ILogger getLogger()
public LogContext getLogContext()
public void setLogContextName(String strLogContextName)
public String toString()
public void debug()
public FormFieldPair getFormFieldPair(String strKey)
public String getContent(String strContentKey)
public String getContent(String strContentKey, Object objInfo)
public String getContent(String strContentKey, Object[] aObjInfo)
public boolean containsField(String strField)
public String get(String strKey)
public String read(String strKey, HttpServletRequest request)
public void remove(String strKey)
public String getAndRemove(String strKey)
public void set(String strKey, String strValue, String strError)
public void clear()
protected void init(ServletContext servletContext) throws Exception
Exception
public RequestHandler.PageLinkage popPageLinkage()
public void pushPageLinkage(RequestHandler.PageLinkage pl)
public void pushPageLinkage(String prevPage, String nextPage, String currentPage)
public RequestHandler.PageLinkage peekPageLinkage()
public String appendNullableParameterToURL(String url, String parameter, String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |