Class DefaultTowService

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.DefaultTowService
All Implemented Interfaces:
com.aspectran.core.service.CoreService, com.aspectran.core.service.ServiceController, TowService

public class DefaultTowService extends AbstractTowService

Created: 2019-07-27

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected long
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    service(io.undertow.server.HttpServerExchange exchange)
    Executes web activity.

    Methods inherited from class com.aspectran.core.service.AspectranCoreService

    afterContextLoaded, beforeContextDestroy, buildActivityContext, destroyActivityContext, doPause, doPause, doResume, doStart, doStop, start, stop

    Methods inherited from class com.aspectran.core.service.AbstractCoreService

    checkDirectoryStructure, createSchedulerService, getActivityContext, getActivityContextBuilder, getAltClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceClassLoader, getServiceController, hasActivityContextBuilder, hasServiceClassLoader, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, setActivityContext, setActivityContextBuilder, setAltClassLoader, setAspectranConfig, setBasePath, setServiceClassLoader, withdrawDerivedService

    Methods inherited from class com.aspectran.core.service.AbstractServiceController

    clearDerivedService, getLock, getRootService, getServiceName, isActive, isBusy, isExposable, joinDerivedService, pause, pause, restart, restart, resume, setExposals, setRootService, setServiceStateListener, withdrawDerivedService

    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, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceClassLoader, getServiceController, hasServiceClassLoader, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedService
  • Field Details

    • pauseTimeout

      protected volatile long pauseTimeout
  • Method Details

    • service

      public boolean service(@NonNull io.undertow.server.HttpServerExchange exchange) throws IOException
      Description copied from interface: TowService
      Executes web activity.
      Parameters:
      exchange - the HTTP request/response exchange
      Returns:
      true if the activity was handled; false otherwise
      Throws:
      IOException - If an error occurs during Activity execution