public interface IDispatchHandler extends IHandler
IComponent
for the IDispatchManager
Modifier and Type | Field and Description |
---|---|
static String |
ALIAS_KEY
There has to be one
IDispatchHandler that is the 'alias' handler |
static String |
AUTHENTICATE_KEY
There has to be one
IDispatchHandler that is the 'authenticateuser' handler |
static String |
COMMAND_KEY
There has to be one
IDispatchHandler that is the 'command' handler |
static int |
DISP_RESPONSE_FORWARD
Forward the request to another IDispatchHandler
|
static int |
DISP_RESPONSE_FORWARD_DEFAULT_GET
Forward the request to another IDispatchHandler
|
static int |
DISP_RESPONSE_FORWARD_RAW
Forward the request to another IDispatchHandler
|
static int |
DISP_RESPONSE_NONE
Dispatch handling is complete, don't do anything further.
|
static int |
DISP_RESPONSE_PRES
Delegate to the
IPresentationManager |
static int |
DISP_RESPONSE_REDIRECT
Redirect this request with an http Redirect using the
PresentationData |
static int |
DISP_RESPONSE_STREAM
Stream the
PresentationData back to the user |
static String |
ERROR_KEY
There has to be one
IDispatchHandler that is the 'error' handler |
static String |
HANDLE_SYSADMIN
Sysadmin user
IDispatchHandler handler |
static String |
LOGIN_KEY
There has to be one
IDispatchHandler that is the 'displaylogin' handler |
static String |
LOGOUT_KEY
There has to be one
IDispatchHandler that is the 'logout' handler |
Modifier and Type | Method and Description |
---|---|
int |
handle(HttpServletRequest request,
HttpServletResponse response)
Handles the request.
|
getConfigElem, getHandlerBean, getName, getPerfToken, initialize, postInitialize, shutdown
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init
static final String LOGIN_KEY
IDispatchHandler
that is the 'displaylogin' handlerstatic final String AUTHENTICATE_KEY
IDispatchHandler
that is the 'authenticateuser' handlerstatic final String LOGOUT_KEY
IDispatchHandler
that is the 'logout' handlerstatic final String ERROR_KEY
IDispatchHandler
that is the 'error' handlerstatic final String ALIAS_KEY
IDispatchHandler
that is the 'alias' handlerstatic final String COMMAND_KEY
IDispatchHandler
that is the 'command' handlerstatic final String HANDLE_SYSADMIN
IDispatchHandler
handlerstatic final int DISP_RESPONSE_NONE
static final int DISP_RESPONSE_REDIRECT
PresentationData
static final int DISP_RESPONSE_FORWARD
static final int DISP_RESPONSE_FORWARD_RAW
static final int DISP_RESPONSE_FORWARD_DEFAULT_GET
static final int DISP_RESPONSE_STREAM
PresentationData
back to the userstatic final int DISP_RESPONSE_PRES
IPresentationManager
int handle(HttpServletRequest request, HttpServletResponse response) throws FrameworkException
DispatchManager
how to further handle the request. Prior to the DispatchManager
delegating to the IDispatchHandler,
a PresentationData is associated with the HttpServletRequest. The following response are valid:PresentationData
PresentationData
back to the user
IPresentationManager
request
- the current HttpServletRequestresponse
- the current HttpServletResponseFrameworkException