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.CoreActivity
Created: 2019-07-27
-
Constructor Summary
ConstructorsConstructorDescriptionTowActivity(TowService service, io.undertow.server.HttpServerExchange exchange) Instantiates a new tow service -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadapt()io.undertow.server.HttpServerExchangecom.aspectran.core.context.rule.type.MethodTypeprotected voidvoidprepare()protected voidprepare(String requestName, com.aspectran.core.context.rule.type.MethodType requestMethod, com.aspectran.core.context.rule.TransletRule transletRule) protected com.aspectran.core.support.i18n.locale.LocaleResolvervoidsetRequestMethod(com.aspectran.core.context.rule.type.MethodType requestMethod) voidsetRequestName(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, reserveResponseMethods 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, setCurrentAspectAdviceTypeMethods 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
-
Constructor Details
-
TowActivity
Instantiates a new tow service- Parameters:
service- the tow serviceexchange- the adaptee object
-
-
Method Details
-
getExchange
public io.undertow.server.HttpServerExchange getExchange() -
getRequestName
-
setRequestName
-
getRequestMethod
public com.aspectran.core.context.rule.type.MethodType getRequestMethod() -
setRequestMethod
public void setRequestMethod(com.aspectran.core.context.rule.type.MethodType requestMethod) -
getFullRequestName
-
prepare
public void prepare() throws com.aspectran.core.activity.TransletNotFoundException, com.aspectran.core.activity.ActivityPrepareException- Throws:
com.aspectran.core.activity.TransletNotFoundExceptioncom.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:
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
-