Class TowActivity

java.lang.Object
com.aspectran.core.activity.AbstractActivity
com.aspectran.core.activity.AdviceActivity
com.aspectran.core.activity.CoreActivity
com.aspectran.undertow.activity.TowActivity
All Implemented Interfaces:
com.aspectran.core.activity.Activity

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

    Modifier and Type
    Method
    Description
    protected void
     
    io.undertow.server.HttpServerExchange
     
     
    com.aspectran.core.context.rule.type.MethodType
     
     
    protected void
     
    void
     
    protected void
    prepare(String requestName, com.aspectran.core.context.rule.type.MethodType requestMethod, com.aspectran.core.context.rule.TransletRule transletRule)
     
    protected com.aspectran.core.support.i18n.locale.LocaleResolver
     
    void
    setRequestMethod(com.aspectran.core.context.rule.type.MethodType requestMethod)
     
    void
    setRequestName(String requestName)
     

    Methods inherited from class com.aspectran.core.activity.CoreActivity

    execute, execute, getContextPath, getDeclaredResponse, getDesiredResponse, getIntendedRequestEncoding, getIntendedResponseEncoding, getProcessResult, getProcessResult, getRequestRule, getResponseRule, getReverseContextPath, getTranslet, getTransletRule, handleException, isAdapted, isCommitted, isRequestParsed, isResponseReserved, parseDeclaredAttributes, parseDeclaredParameters, perform, perform, prepare, prepare, prepare, prepare, prepare, 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, putSetting, registerAspectAdviceRule, registerSettingsAdviceRule, setCurrentAspectAdviceType

    Methods inherited from class com.aspectran.core.activity.AbstractActivity

    clearRaisedException, containsBean, containsBean, containsBean, getActivityContext, getApplicationAdapter, getBean, getBean, getBean, getClassLoader, getCurrentActivity, getEnvironment, getParentActivity, getPrototypeScopeBean, getRaisedException, getRequestAdapter, getResponseAdapter, getRootCauseOfRaisedException, getSessionAdapter, hasParentActivity, isExceptionRaised, removeCurrentActivity, saveCurrentActivity, 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 Details

    • TowActivity

      public TowActivity(@NonNull TowService service, io.undertow.server.HttpServerExchange exchange)
      Instantiates a new tow service
      Parameters:
      service - the tow service
      exchange - the adaptee object
  • Method Details

    • getExchange

      public io.undertow.server.HttpServerExchange getExchange()
    • getRequestName

      public String getRequestName()
    • setRequestName

      public void setRequestName(String requestName)
    • getRequestMethod

      public com.aspectran.core.context.rule.type.MethodType getRequestMethod()
    • setRequestMethod

      public void setRequestMethod(com.aspectran.core.context.rule.type.MethodType requestMethod)
    • getFullRequestName

      public String getFullRequestName()
    • prepare

      public void prepare() throws com.aspectran.core.activity.TransletNotFoundException, com.aspectran.core.activity.ActivityPrepareException
      Throws:
      com.aspectran.core.activity.TransletNotFoundException
      com.aspectran.core.activity.ActivityPrepareException
    • prepare

      protected void prepare(String requestName, com.aspectran.core.context.rule.type.MethodType requestMethod, com.aspectran.core.context.rule.TransletRule transletRule) throws com.aspectran.core.activity.ActivityPrepareException
      Overrides:
      prepare in class com.aspectran.core.activity.CoreActivity
      Throws:
      com.aspectran.core.activity.ActivityPrepareException
    • 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() throws com.aspectran.core.activity.ActivityTerminatedException, com.aspectran.core.activity.request.RequestParseException
      Overrides:
      parseRequest in class com.aspectran.core.activity.CoreActivity
      Throws:
      com.aspectran.core.activity.ActivityTerminatedException
      com.aspectran.core.activity.request.RequestParseException
    • resolveLocale

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