Package com.axemble.vdoc.sdk.flow
Class Dispatcher
java.lang.Object
com.axemble.vdoc.sdk.controllers.BaseController
com.axemble.vdoc.sdk.flow.Dispatcher
- All Implemented Interfaces:
- ICustomAuthenticationController,- com.axemble.vdp.ui.framework.files.TemporaryFileManager,- com.axemble.vdp.ui.framework.foundation.controllers.ICustomController,- com.axemble.vdp.utils.parameters.FileRecipient,- com.axemble.vdp.utils.parameters.ParamsHandler
- 
Nested Class SummaryNested classes/interfaces inherited from class com.axemble.vdoc.sdk.controllers.BaseControllerBaseController.Result
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Stringprotected com.thoughtworks.xstream.io.HierarchicalStreamDriverprotected Stringprotected InputStreamprotected static final Stringprotected static final Stringstatic final Stringprotected booleanprotected static final Loggerprotected Stringprotected Stringprotected Stringprotected com.axemble.vdoc.sdk.flow.commands.impl.common.beans.ResultErrorprotected static final StringFields inherited from class com.axemble.vdoc.sdk.controllers.BaseControllerLOGGER, STATUS_KEY_AUTH_FAILED, STATUS_KEY_CAS_NOT_ACTIVATED, STATUS_KEY_INTERNAL_ERROR, STATUS_KEY_ISSUER_NOT_AUTHORIZED, STATUS_KEY_LOGGED_OUT, STATUS_KEY_LOGIN_SUCCESS, STATUS_KEY_REDIRECT_TO_LOGOUT, STATUS_KEY_REDIRECT_TO_LOGOUT_REDIRECT_URL, STATUS_KEY_REDIRECT_TO_OPENID_PROVIDER, STATUS_KEY_SESSION_DOES_N0T_MATCH, STATUS_KEY_UNAUTHORIZED_IP_ADDRESS, STATUS_KEY_UNKNOWN_COMMANDFields inherited from interface com.axemble.vdp.utils.parameters.ParamsHandlerERROR_EXCEED_ELEM_SIZE, ERROR_EXCEED_TOTAL_SIZE, ERROR_NOT_COMPLETED, ERROR_READ_FAILED, EXCEED_ELEM_NUMBER, NO_ERROR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoProcess(IExecutionContext iExecutionContext) protected StringgetCommand(IExecutionContext.IRequest iRequest, InputStream is) protected com.axemble.vdoc.sdk.flow.commands.interfaces.ICommandHandlerprotected StringgetModule(IExecutionContext.IRequest iRequest) protected com.thoughtworks.xstream.XStreamvoidparseRequest(IExecutionContext.IRequest iRequest) protected voidserializeError(com.axemble.vdoc.sdk.flow.commands.impl.common.beans.ResultError result, OutputStream os) protected voidserializeError(com.axemble.vdoc.sdk.flow.commands.impl.common.beans.ResultError result, OutputStream os, String encoding) Methods inherited from class com.axemble.vdoc.sdk.controllers.BaseControllerbuildResponse, checkSecurity, createTempFile, findFileRecipient, findStringRecipient, findXmlRecipient, getAttachments, getDirectoryModule, getMaxFileSize, getPortalModule, getProjectModule, getWorkflowModule, isAuthorized, loadComplete, prepareLoad, removeTempFile
- 
Field Details- 
log
- 
JSON- See Also:
 
- 
JSONFORMATTED- See Also:
 
- 
XML- See Also:
 
- 
KEY_OLD_CONTROLLER_NAME- See Also:
 
- 
flowMode
- 
command
- 
module
- 
is
- 
driverprotected com.thoughtworks.xstream.io.HierarchicalStreamDriver driver
- 
oldControllerName
- 
oldCommand
- 
killSessionprotected boolean killSession
- 
resultprotected com.axemble.vdoc.sdk.flow.commands.impl.common.beans.ResultError result
 
- 
- 
Constructor Details- 
Dispatcherpublic Dispatcher()
 
- 
- 
Method Details- 
parseRequest- Specified by:
- parseRequestin interface- com.axemble.vdp.ui.framework.foundation.controllers.ICustomController
- Throws:
- IOException
- See Also:
 
- 
doProcess- Specified by:
- doProcessin interface- com.axemble.vdp.ui.framework.foundation.controllers.ICustomController
- Overrides:
- doProcessin class- BaseController
- Throws:
- IOException
- See Also:
 
- 
serializeErrorprotected void serializeError(com.axemble.vdoc.sdk.flow.commands.impl.common.beans.ResultError result, OutputStream os) - Parameters:
- result- the result
- os- the os
 
- 
serializeErrorprotected void serializeError(com.axemble.vdoc.sdk.flow.commands.impl.common.beans.ResultError result, OutputStream os, String encoding) - Parameters:
- result- the result
- os- the os
- encoding- the encoding
 
- 
getXStreamSerializerprotected com.thoughtworks.xstream.XStream getXStreamSerializer()
- 
getCommand- Parameters:
- iRequest- iRequest
- is- is
- Returns:
- the command
- Throws:
- Exception- the exception
 
- 
getModule- Parameters:
- iRequest- iRequest
- Returns:
- the module
- Throws:
- Exception
 
- 
getHandlerprotected com.axemble.vdoc.sdk.flow.commands.interfaces.ICommandHandler getHandler() throws Exception- Returns:
- the ICommandHandler
- Throws:
- Exception- the exception
 
 
-