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:
Activity
,java.lang.AutoCloseable
public class TowActivity extends 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 Activity>
TnewActivity()
Create a new inner activity.protected void
parseRequest()
void
prepare(java.lang.String transletName, MethodType requestMethod)
Prepare for the activity.protected 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
-
-
-
-
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, MethodType requestMethod)
Description copied from interface:Activity
Prepare for the activity.- Specified by:
prepare
in interfaceActivity
- Overrides:
prepare
in classCoreActivity
- Parameters:
transletName
- the translet namerequestMethod
- the request method
-
adapt
protected void adapt() throws AdapterException
- Overrides:
adapt
in classCoreActivity
- Throws:
AdapterException
-
parseRequest
protected void parseRequest()
- Overrides:
parseRequest
in classCoreActivity
-
resolveLocale
protected LocaleResolver resolveLocale()
- Overrides:
resolveLocale
in classCoreActivity
-
newActivity
public <T extends Activity> T newActivity()
Description copied from interface:Activity
Create a new inner activity.- Specified by:
newActivity
in interfaceActivity
- Overrides:
newActivity
in classCoreActivity
- Type Parameters:
T
- the type of the activity- Returns:
- the activity object
-
-