Package com.aspectran.web.service
Class DefaultWebService
java.lang.Object
com.aspectran.core.service.AbstractServiceLifeCycle
com.aspectran.core.service.AbstractCoreService
com.aspectran.core.service.DefaultCoreService
com.aspectran.web.service.AbstractWebService
com.aspectran.web.service.DefaultWebService
- All Implemented Interfaces:
CoreService
,ServiceLifeCycle
,WebService
Provides overall functionality for building web applications within a web
application container.
-
Field Summary
Fields inherited from interface com.aspectran.web.service.WebService
DERIVED_WEB_SERVICE_ATTR_NAME, ROOT_WEB_SERVICE_ATTR_NAME
-
Method Summary
Modifier and TypeMethodDescriptionvoid
service
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Executes web activity.Methods inherited from class com.aspectran.web.service.AbstractWebService
afterContextLoaded, configure, getContextPath, getDefaultServletHttpRequestHandler, getServletContext, getUriDecoding, isLegacyHeadHandling, isSessionAdaptable, isTrailingSlashRedirect, setLegacyHeadHandling, setSessionAdaptable, setTrailingSlashRedirect, setUriDecoding
Methods inherited from class com.aspectran.core.service.DefaultCoreService
beforeContextDestroy, buildActivityContext, destroyActivityContext, doStart, doStop, start, stop
Methods inherited from class com.aspectran.core.service.AbstractCoreService
buildSchedulerService, getActivityContext, getActivityContextBuilder, getAltClassLoader, getApplicationAdapter, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceClassLoader, getServiceLifeCycle, getServiceName, hasActivityContextBuilder, hasServiceClassLoader, isAcceptable, isDerived, setActivityContext, setActivityContextBuilder, setAltClassLoader, setAspectranConfig, setBasePath, setRequestAcceptor, setServiceClassLoader
Methods inherited from class com.aspectran.core.service.AbstractServiceLifeCycle
addService, getLock, getParentService, getRootService, isActive, isBusy, isOrphan, isRootService, pause, pause, removeService, restart, restart, resume, setServiceStateListener, withdraw
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aspectran.core.service.CoreService
getActivityContext, getAltClassLoader, getApplicationAdapter, getAspectranConfig, getBasePath, getDefaultActivity, getParentService, getRootService, getSchedulerService, getServiceClassLoader, getServiceLifeCycle, hasServiceClassLoader, isAcceptable, isDerived, isOrphan, isRootService
-
Field Details
-
pauseTimeout
protected volatile long pauseTimeout
-
-
Method Details
-
service
public void service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException Description copied from interface:WebService
Executes web activity.- Parameters:
request
- current HTTP servlet requestresponse
- current HTTP servlet response- Throws:
IOException
- If an error occurs during Activity execution
-