Package com.aspectran.undertow.service
Class AspectranTowService
- java.lang.Object
-
- com.aspectran.core.service.AbstractServiceController
-
- com.aspectran.core.service.AbstractCoreService
-
- com.aspectran.core.service.AspectranCoreService
-
- com.aspectran.undertow.service.AbstractTowService
-
- com.aspectran.undertow.service.AspectranTowService
-
- All Implemented Interfaces:
CoreService,ServiceController,TowService
public class AspectranTowService extends AbstractTowService
Created: 2019-07-27
-
-
Constructor Summary
Constructors Constructor Description AspectranTowService()AspectranTowService(CoreService rootService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AspectranTowServicecreate(AspectranConfig aspectranConfig)Returns a new instance ofAspectranTowService.static AspectranTowServicecreate(CoreService rootService)Returns a new instance ofAspectranTowService.booleanexecute(io.undertow.server.HttpServerExchange exchange)Executes web activity.-
Methods inherited from class com.aspectran.undertow.service.AbstractTowService
getUriDecoding, setUriDecoding
-
Methods inherited from class com.aspectran.core.service.AspectranCoreService
afterContextLoaded, beforeContextDestroy, doPause, doPause, doResume, doStart, doStop
-
Methods inherited from class com.aspectran.core.service.AbstractCoreService
destroyActivityContext, determineBasePath, getActivityContext, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, isDerived, isExposable, isHardReload, isLateStart, joinDerivedService, loadActivityContext, prepare, setActivityContext, setBasePath, setExposals
-
Methods inherited from class com.aspectran.core.service.AbstractServiceController
clearDerivedService, getLock, getServiceName, isActive, isBusy, joinDerivedService, pause, pause, restart, restart, resume, setServiceStateListener, start, stop
-
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, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getServiceController, isHardReload, isLateStart, joinDerivedService
-
-
-
-
Constructor Detail
-
AspectranTowService
public AspectranTowService()
-
AspectranTowService
public AspectranTowService(CoreService rootService)
-
-
Method Detail
-
execute
public boolean execute(io.undertow.server.HttpServerExchange exchange) throws java.io.IOExceptionDescription copied from interface:TowServiceExecutes web activity.- Parameters:
exchange- the HTTP request/response exchange- Returns:
- true if the activity was handled; false otherwise
- Throws:
java.io.IOException- If an error occurs during Activity execution
-
create
public static AspectranTowService create(CoreService rootService)
Returns a new instance ofAspectranTowService.- Parameters:
rootService- the root service- Returns:
- the instance of
AspectranTowService
-
create
public static AspectranTowService create(AspectranConfig aspectranConfig)
Returns a new instance ofAspectranTowService.- Parameters:
aspectranConfig- the aspectran configuration- Returns:
- the instance of
AspectranTowService
-
-