|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.dse.clientserver.DSERequestHandler
This class implements RequestHandler interface.
This is the abstract implementation to be used by all channel specific request handlers
| Constructor Summary | |
DSERequestHandler()
DSERequestHandler constructor |
|
| Method Summary | |
protected void |
endRequest(ServerOperation aServerOperation)
Extend this method to perform to perform any post processing of the request if required. |
protected ServerOperation |
executeRequest(ChannelContext channelContext)
Extend this method to perform the actual operation or process |
protected void |
executeSession(ChannelContext channelContext)
Extend this method to perform any required application session processing |
protected PresentationHandler |
getPresentationHandler(ChannelContext channelContext)
Defalt implementation to get the presentation handler from the registry. |
protected void |
handleException(ChannelContext channelContext,
java.lang.Exception ex)
Handle the exceptions raised by the request handler Default implementation attempts to invoke the presentation handler to process the reply |
protected void |
handleException(java.lang.Exception ex)
Handle the exceptions raised by the request handler Log the exception to the server trace console if enabled |
protected void |
preProcessRequest(ChannelContext channelContext)
Extend this method to perform any initial processing required by the request handler |
void |
processRequest(ChannelContext channelContext)
Process the request for a specific channel This is the default flow to process a request. |
void |
processSessionRequest(ChannelContext channelContext)
Process the request to establish a session for a specific channel This is the default flow to process a session request. |
protected boolean |
usingCookies(ChannelContext channelContext)
Convenience method to determine if cookies are being used to manage the client server session for the specified device type By default using cookies is false |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DSERequestHandler()
| Method Detail |
protected void endRequest(ServerOperation aServerOperation)
channelContext - com.ibm.dse.clientserver.ServerOperation
protected ServerOperation executeRequest(ChannelContext channelContext)
throws java.lang.Exception
channelContext - com.ibm.dse.clientserver.ChannelContext
protected void executeSession(ChannelContext channelContext)
throws java.lang.Exception
channelContext - com.ibm.dse.clientserver.ChannelContext
protected PresentationHandler getPresentationHandler(ChannelContext channelContext)
throws DSENoRegisteredPresentationHandlerException
channelContext - com.ibm.dse.clientserver.ChannelContext
protected void handleException(ChannelContext channelContext,
java.lang.Exception ex)
channelContext - com.ibm.dse.clientserver.ChannelContextex - java.lang.Exceptionprotected void handleException(java.lang.Exception ex)
ex - java.lang.Exception
protected void preProcessRequest(ChannelContext channelContext)
throws DSEException
channelContext - com.ibm.dse.clientserver.ChannelContextpublic void processRequest(ChannelContext channelContext)
channelContext - com.ibm.dse.clientserver.ChannelContextpublic void processSessionRequest(ChannelContext channelContext)
channelContext - com.ibm.dse.clientserver.ChannelContextprotected boolean usingCookies(ChannelContext channelContext)
channelContext - com.ibm.dse.clientserver.ChannelContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||