public class AbstractServlet
extends org.clawiz.core.common.system.service.Service
| Constructor and Description |
|---|
AbstractServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
getLock() |
String |
getPath() |
ServletSecureMode |
getSecureMode()
Return servlet secure mode
Non-registered users attempting to access servlet, redirected to login page (whe allowed - for example at http calls)
|
boolean |
isAllowedSessionConcurrentCalls()
Return 'true' if serlvet can be called concurrently at one time in some portal session
override to return 'false' for servlets that perform operations that MUST by finished before next call
|
boolean |
isLocked() |
boolean |
isSessionIdRequired()
If true - parameter or cookie with portal session id must be defined in http request
if not overriden, return true for all servlets with getPath like '/api/*'
|
void |
releaseLock() |
commit, destroy, executeQuery, executeQueryBigDecimal, executeQueryDate, executeQueryString, executeUpdate, getLogger, getSavepoint, getService, getService, getService, getServiceScope, getSession, init, logDebug, logError, logInfo, notNull, processExtensions, processExtensions, rollback, rollbackToSavepoint, setServiceScope, setSession, throwExceptionpublic String getPath()
public void getLock()
public void releaseLock()
public boolean isLocked()
public boolean isAllowedSessionConcurrentCalls()
public ServletSecureMode getSecureMode()
AbstractSiteContext.getLoginPath()public boolean isSessionIdRequired()
Copyright © 2018. All rights reserved.