Package com.aspectran.undertow.activity
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.CoreActivityCreated: 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 voidadapt()protected voidparseRequest()voidprepare(java.lang.String transletName, com.aspectran.core.context.rule.type.MethodType requestMethod, com.aspectran.core.context.rule.TransletRule transletRule)protected com.aspectran.core.support.i18n.locale.LocaleResolverresolveLocale()-
Methods inherited from class com.aspectran.core.activity.CoreActivity
execute, execute, getDeclaredResponse, getDesiredResponse, getIntendedRequestEncoding, getIntendedResponseEncoding, getProcessResult, getProcessResult, getRequestRule, getResponseRule, getTranslet, getTransletRule, handleException, isCommitted, isResponseReserved, parseDeclaredAttributes, parseDeclaredParameters, perform, perform, prepare, 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, putSetting, registerAspectAdviceRule, registerSettingsAdviceRule, setCurrentAspectAdviceType
-
Methods inherited from class com.aspectran.core.activity.AbstractActivity
clearRaisedException, containsBean, containsBean, containsBean, getActivityContext, getApplicationAdapter, getBean, getBean, getBean, getCurrentActivity, getEnvironment, getParentActivity, getPrototypeScopeBean, getRaisedException, getRequestAdapter, getResponseAdapter, getRootCauseOfRaisedException, getSessionAdapter, hasParentActivity, isExceptionRaised, removeCurrentActivity, saveCurrentActivity, setRaisedException, setRequestAdapter, setResponseAdapter, setSessionAdapter, terminate, terminate
-
-
-
-
Constructor Detail
-
TowActivity
public TowActivity(TowService service, io.undertow.server.HttpServerExchange exchange)
Instantiates a new tow service- Parameters:
service- the tow serviceexchange- the adaptee object
-
-
Method Detail
-
prepare
public void prepare(java.lang.String transletName, com.aspectran.core.context.rule.type.MethodType requestMethod, com.aspectran.core.context.rule.TransletRule transletRule) throws com.aspectran.core.activity.ActivityPrepareException- Overrides:
preparein classcom.aspectran.core.activity.CoreActivity- Throws:
com.aspectran.core.activity.ActivityPrepareException
-
adapt
protected void adapt() throws com.aspectran.core.activity.AdapterException- Overrides:
adaptin classcom.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:
parseRequestin classcom.aspectran.core.activity.CoreActivity- Throws:
com.aspectran.core.activity.ActivityTerminatedExceptioncom.aspectran.core.activity.request.RequestParseException
-
resolveLocale
protected com.aspectran.core.support.i18n.locale.LocaleResolver resolveLocale()
- Overrides:
resolveLocalein classcom.aspectran.core.activity.CoreActivity
-
-