|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiTabHandler
Handler for Serving multi-tab request. Once the request is served then is sent for actual processing.We can see this handler a link between the MultiTabSupport and the Servletadaptor
Nested Class Summary | |
---|---|
static class |
MultiTabHandler.MultiTabException
Generic MultiTabException. |
static class |
MultiTabHandler.RequestInfo
A wrapper object that contains the data needed to process multitab request |
Field Summary | |
---|---|
static java.lang.String |
AppHandlder
|
static java.lang.String |
InspectorHandler
|
static java.lang.String |
MultiTabExceptionMessageKey
|
static java.lang.String |
MultiTabExceptionReportMessageKey
|
static java.lang.String |
StringTable
|
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. |
Field Detail |
---|
static final java.lang.String AppHandlder
static final java.lang.String InspectorHandler
static final java.lang.String StringTable
static final java.lang.String MultiTabExceptionMessageKey
static final java.lang.String MultiTabExceptionReportMessageKey
Method Detail |
---|
boolean isTabEnabled(MultiTabHandler.RequestInfo data)
data
- Data wrapping object.
void handleDefault(MultiTabHandler.RequestInfo data) throws java.io.IOException
data
- Data wrapping object.
java.io.IOException
void handleNewTab(MultiTabHandler.RequestInfo data) throws java.io.IOException
data
- Data wrapping object.
java.io.IOException
void handleExistingTab(MultiTabHandler.RequestInfo data) throws java.io.IOException
data
- Data wrapping object.
java.io.IOException
java.lang.String mungeRedirectUrl(java.lang.String redirectUrl)
redirectUrl
- The redirect url to munge.
void handleTooManyTabs(MultiTabHandler.RequestInfo data) throws java.io.IOException
data
- Data wrapping object.
java.io.IOException
void initialize()
void setServletRequest(javax.servlet.http.HttpServletRequest request)
void setRequestProcessor(RequestProcessor processor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |