Class CustomResponseHandler
+-
+
- All Implemented Interfaces: +
Handler
,RouterNanoHTTPD.UriResponder
+
+ +
-
+
+
-
+
+ +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, entity, htmlData, htmlHead, initialValues, insertServletNameInTemplateRefs, MSG_TYPE_ERR, MSG_TYPE_INFO, MSG_TYPE_WARN, PRECISION_INPUT_TYPES, servletName, transientFields, uniqueFields
+
+ -
+
+ +Constructor Summary
+ + +
+
+ -
+
+ +Method Summary
++ ++++++Modifier and Type+Method+Description++ +final String
++Get web resource file as it lies on the file system + relatively to the started server process.++ +protected final boolean
++Overwrite this if your handler has a custom response; e.g., + a JSON response without any further HTML content.+++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, getEntity, getHtmlData, getHtmlHead, getInsertValues, getLayout, getMessageType, getMimeType, getNewScanner, getPaginator, getRedirectHandler, getSimpleManagementUserRoles, getStatus, getTemplateEngineErrorMessage, getTemplateEngineErrorTitle, getText, getText, getTitle, getTransientFields, getUpdateSetClause, getUpdateSetClause, hasAccess, hasExternalLinks, hasNoColumnsConfig, initialize, initialValue, initValuesSize, isCurrentUserUpdate, isNoContentResponse, isNoContentResponseButRoute, isPrecisionInputType, isRetryCall, loginMarker, parseAssociatedEntities, parseUnassociatedEntities, patchInputValue, readData, readSnippetResource, redirectedMarker, refreshUserRoles, registerDisplayField, render, renderAll, saveData, setCurrentEntityDbId, setMessageType, setVar, setVarAll, showMenu, uniqueFields, uniqueTest, updateData
++ +Methods inherited from class org.nanohttpd.router.RouterNanoHTTPD.DefaultStreamHandler
+delete, other, post, put
+
-
+
+
-
+
+ +Constructor Details
+-
+
-
+
+ +CustomResponseHandler
+ +
+
+
+ -
+
-
+
+ +Method Details
+-
+
-
+
+ +isCustomResponse
+protected final boolean isCustomResponse()+Description copied from class:+BaseHandler
Overwrite this if your handler has a custom response; e.g., + a JSON response without any further HTML content. + Such a response is usually used for live searches, etc.+-
+
- Overrides: +
isCustomResponse
in classBaseHandler
+- Returns: +
true
if it is a custom response
+
+ -
+
+ +getResource
+ +Description copied from class:+BaseHandler
Get web resource file as it lies on the file system + relatively to the started server process.+-
+
- Specified by: +
getResource
in interfaceHandler
+- Specified by: +
getResource
in classBaseHandler
+- Returns: +
- web resource +
+
+ -
+