Package ch.autumo.beetroot.handler.users
Class OtpHandler
java.lang.Object
org.nanohttpd.router.RouterNanoHTTPD.DefaultStreamHandler
org.nanohttpd.router.RouterNanoHTTPD.DefaultHandler
ch.autumo.beetroot.handler.BaseHandler
ch.autumo.beetroot.handler.users.OtpHandler
- All Implemented Interfaces:
Handler,RouterNanoHTTPD.UriResponder
Default OTP handler.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.autumo.beetroot.handler.BaseHandler
BaseHandler.IfSectionHandler -
Field Summary
Fields inherited from class ch.autumo.beetroot.handler.BaseHandler
action, columns, emptyBean, htmlData, htmlHead, initialValues, insertServletNameInTemplateRefs, MSG_TYPE_ERR, MSG_TYPE_INFO, MSG_TYPE_WARN, PRECISION_INPUT_TYPES, servletName, TAG_PREFIX_LANG, transientFields, uniqueFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet web entity (use plural, e.g.Get web resource file as it lies on the file system relatively to the started server process.booleanshowLangMenu(Session userSession) Show language menu?booleanShow template menu?Methods inherited from class ch.autumo.beetroot.handler.BaseHandler
addCheckBox, addErrorMessage, addHtmlDataLine, addHtmlHeadLine, addSuccessMessage, addWarningMessage, columns, columnsSize, deleteData, formatSingleValueForDB, get, getBeanClass, getColumn, getColumnsForSql, getColumnsForSql, getCurrentEntityDbId, getCurrentSession, getCustomizedExceptionInformation, getData, getEmptyBean, getHandlerClass, getHtmlData, getHtmlHead, getInsertValues, getLayout, getMessageType, getMimeType, getNewScanner, getNewScanner, getPaginator, getRedirectHandler, getSimpleManagementUserRoles, getStatus, getTableExport, getTemplateEngineErrorMessage, getTemplateEngineErrorTitle, getText, getText, getTitle, getTransientFields, getUpdateSetClause, getUpdateSetClause, hasAccess, hasExternalLinks, hasNoColumnsConfig, initialize, initialValue, initValuesSize, isCurrentUserUpdate, isCustomResponse, isNoContentResponse, isNoContentResponseButRoute, isPrecisionInputType, isRetryCall, loginMarker, parseAssociatedEntities, parseUnassociatedEntities, patchInputValue, readData, readSnippetResource, redirectedMarker, refreshUserRoles, registerDisplayField, registerRoutes, render, renderAll, saveData, setCurrentEntityDbId, setMessageType, setVar, setVarAll, uniqueFields, uniqueTest, updateDataMethods inherited from class org.nanohttpd.router.RouterNanoHTTPD.DefaultStreamHandler
delete, other, post, put
-
Constructor Details
-
OtpHandler
public OtpHandler() -
OtpHandler
-
OtpHandler
-
-
Method Details
-
getResource
Description copied from class:BaseHandlerGet web resource file as it lies on the file system relatively to the started server process.- Specified by:
getResourcein interfaceHandler- Specified by:
getResourcein classBaseHandler- Returns:
- web resource
-
getEntity
Description copied from class:BaseHandlerGet web entity (use plural, e.g. 'tasks', 'users'.- Overrides:
getEntityin classBaseHandler- Returns:
- web entity
-
showMenu
Description copied from class:BaseHandlerShow template menu?- Overrides:
showMenuin classBaseHandler- Parameters:
userSession- user session, possible even a temporary session from a not logged in user- Returns:
- true if a menu should be shown
-
showLangMenu
Description copied from class:BaseHandlerShow language menu?- Overrides:
showLangMenuin classBaseHandler- Parameters:
userSession- user session, possible even a temporary session from a not logged in user- Returns:
- true if language menu should be shown
-