|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.http.multitab.AbstractMultiTabHandler
public abstract class AbstractMultiTabHandler
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface ariba.util.http.multitab.MultiTabHandler |
---|
MultiTabHandler.MultiTabException, MultiTabHandler.RequestInfo |
Field Summary |
---|
Fields inherited from interface ariba.util.http.multitab.MultiTabHandler |
---|
AppHandlder, InspectorHandler, MultiTabExceptionMessageKey, MultiTabExceptionReportMessageKey, StringTable |
Constructor Summary | |
---|---|
AbstractMultiTabHandler()
|
Method Summary | |
---|---|
void |
handleDefault(MultiTabHandler.RequestInfo data)
What should the application do by default or when tabbing is disabled? |
void |
handleExistingTab(MultiTabHandler.RequestInfo data)
What should the application do when the request is coming from existing tab. |
void |
handleNewTab(MultiTabHandler.RequestInfo data)
What should the application do when processing a new tab request. |
void |
handleTooManyTabs(MultiTabHandler.RequestInfo data)
What should the application do when too many tabs error is reached? |
void |
initialize()
Gives option to make some initialization |
boolean |
isTabEnabled(MultiTabHandler.RequestInfo data)
Tabs are false by default, please override if your need to enable it or has more complex logic. |
java.lang.String |
mungeRedirectUrl(java.lang.String redirectUrl)
Function that can be overridden to allow munging of the redirect url. |
void |
setRequestProcessor(RequestProcessor processor)
|
void |
setServletRequest(javax.servlet.http.HttpServletRequest request)
Mainly used for our factory methods which instantiates this handlers. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMultiTabHandler()
Method Detail |
---|
public void initialize()
MultiTabHandler
initialize
in interface MultiTabHandler
public void setServletRequest(javax.servlet.http.HttpServletRequest request)
MultiTabHandler
setServletRequest
in interface MultiTabHandler
public void setRequestProcessor(RequestProcessor processor)
setRequestProcessor
in interface MultiTabHandler
public void handleDefault(MultiTabHandler.RequestInfo data) throws java.io.IOException
MultiTabHandler
handleDefault
in interface MultiTabHandler
data
- Data wrapping object.
java.io.IOException
public boolean isTabEnabled(MultiTabHandler.RequestInfo data)
MultiTabHandler
isTabEnabled
in interface MultiTabHandler
data
- Data wrapping object.
public void handleNewTab(MultiTabHandler.RequestInfo data) throws java.io.IOException
MultiTabHandler
handleNewTab
in interface MultiTabHandler
data
- Data wrapping object.
java.io.IOException
public void handleExistingTab(MultiTabHandler.RequestInfo data) throws java.io.IOException
MultiTabHandler
handleExistingTab
in interface MultiTabHandler
data
- Data wrapping object.
java.io.IOException
public java.lang.String mungeRedirectUrl(java.lang.String redirectUrl)
MultiTabHandler
mungeRedirectUrl
in interface MultiTabHandler
redirectUrl
- The redirect url to munge.
public void handleTooManyTabs(MultiTabHandler.RequestInfo data) throws java.io.IOException
MultiTabHandler
handleTooManyTabs
in interface MultiTabHandler
data
- Data wrapping object.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |