Class DispatchResponse
java.lang.Object
com.aspectran.core.activity.response.dispatch.DispatchResponse
- All Implemented Interfaces:
Response
,Replicable<Response>
JSP or other web resource integration.
Created: 2008. 03. 22 PM 5:51:58
-
Constructor Summary
ConstructorsConstructorDescriptionDispatchResponse
(DispatchRule dispatchRule) Instantiates a new DispatchResponse with specified DispatchRule. -
Method Summary
Modifier and TypeMethodDescriptionvoid
The result of the activity is processed into a specific response form and then sent to the client.Gets the content type.Gets the dispatch rule.Gets the response type.Replicates and returns this response.static void
saveAttributes
(RequestAdapter requestAdapter, ProcessResult processResult) Save processing results as request attributes.toString()
-
Constructor Details
-
DispatchResponse
Instantiates a new DispatchResponse with specified DispatchRule.- Parameters:
dispatchRule
- the dispatch rule
-
-
Method Details
-
commit
Description copied from interface:Response
The result of the activity is processed into a specific response form and then sent to the client.- Specified by:
commit
in interfaceResponse
- Parameters:
activity
- the current Activity- Throws:
ResponseException
- the response exception
-
getDispatchRule
Gets the dispatch rule.- Returns:
- the dispatch rule
-
getResponseType
Description copied from interface:Response
Gets the response type.- Specified by:
getResponseType
in interfaceResponse
- Returns:
- the response type
-
getContentType
Description copied from interface:Response
Gets the content type.- Specified by:
getContentType
in interfaceResponse
- Returns:
- the content type
-
replicate
Description copied from interface:Response
Replicates and returns this response.- Specified by:
replicate
in interfaceReplicable<Response>
- Specified by:
replicate
in interfaceResponse
- Returns:
- the new response
-
toString
-
saveAttributes
Save processing results as request attributes.- Parameters:
requestAdapter
- the request adapterprocessResult
- the process result
-