Class TowActivity

  • All Implemented Interfaces:
    com.aspectran.core.activity.Activity, java.lang.AutoCloseable

    public class TowActivity
    extends com.aspectran.core.activity.CoreActivity

    Created: 2019-07-27

    • Constructor Summary

      Constructors 
      Constructor Description
      TowActivity​(TowService service, io.undertow.server.HttpServerExchange exchange)
      Instantiates a new tow service
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void adapt()  
      <T extends com.aspectran.core.activity.Activity>
      T
      newActivity()  
      protected void parseRequest()  
      void prepare​(java.lang.String transletName, com.aspectran.core.context.rule.type.MethodType requestMethod)  
      protected com.aspectran.core.support.i18n.locale.LocaleResolver resolveLocale()  
      • Methods inherited from class com.aspectran.core.activity.CoreActivity

        close, execute, execute, getDeclaredResponse, getDesiredResponse, getIntendedRequestEncoding, getIntendedResponseEncoding, getProcessResult, getProcessResult, getRequestRule, getResponseRule, getTranslet, getTransletRule, handleException, isResponseReserved, parseDeclaredAttributes, parseDeclaredParameters, perform, perform, prepare, prepare, prepare, prepare, release, reserveResponse, reserveResponse
      • Methods inherited from class com.aspectran.core.activity.AdviceActivity

        executeAdvice, executeAdvice, getAfterAdviceResult, getAfterAdviceRuleList, getAroundAdviceResult, getAspectAdviceBean, getBeforeAdviceResult, getBeforeAdviceRuleList, getExceptionRuleList, getFinallyAdviceResult, getFinallyAdviceRuleList, getSetting, handleException, prepareAspectAdviceRule, putAdviceResult, putAspectAdviceBean, registerAspectAdviceRule, registerSettingsAdviceRule, setCurrentAspectAdviceType
      • Methods inherited from class com.aspectran.core.activity.AbstractActivity

        backupCurrentActivity, clearRaisedException, containsBean, containsBean, containsBean, getActivityContext, getApplicationAdapter, getBean, getBean, getBean, getCurrentActivity, getEnvironment, getOuterActivity, getPrototypeScopeBean, getRaisedException, getRequestAdapter, getResponseAdapter, getRootCauseOfRaisedException, getSessionAdapter, isExceptionRaised, isIncluded, removeCurrentActivity, saveCurrentActivity, setIncluded, setRaisedException, setRequestAdapter, setResponseAdapter, setSessionAdapter, terminate, terminate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TowActivity

        public TowActivity​(TowService service,
                           io.undertow.server.HttpServerExchange exchange)
        Instantiates a new tow service
        Parameters:
        service - the tow service
    • Method Detail

      • prepare

        public void prepare​(java.lang.String transletName,
                            com.aspectran.core.context.rule.type.MethodType requestMethod)
        Specified by:
        prepare in interface com.aspectran.core.activity.Activity
        Overrides:
        prepare in class com.aspectran.core.activity.CoreActivity
      • adapt

        protected void adapt()
                      throws com.aspectran.core.activity.AdapterException
        Overrides:
        adapt in class com.aspectran.core.activity.CoreActivity
        Throws:
        com.aspectran.core.activity.AdapterException
      • parseRequest

        protected void parseRequest()
        Overrides:
        parseRequest in class com.aspectran.core.activity.CoreActivity
      • resolveLocale

        protected com.aspectran.core.support.i18n.locale.LocaleResolver resolveLocale()
        Overrides:
        resolveLocale in class com.aspectran.core.activity.CoreActivity
      • newActivity

        public <T extends com.aspectran.core.activity.Activity> T newActivity()
        Specified by:
        newActivity in interface com.aspectran.core.activity.Activity
        Overrides:
        newActivity in class com.aspectran.core.activity.CoreActivity