Class DispatchResponse
- java.lang.Object
-
- com.aspectran.core.activity.response.dispatch.DispatchResponse
-
- All Implemented Interfaces:
Response,Replicable<Response>
public class DispatchResponse extends java.lang.Object implements Response
JSP or other web resource integration.Created: 2008. 03. 22 PM 5:51:58
-
-
Constructor Summary
Constructors Constructor Description DispatchResponse(DispatchResponseRule dispatchResponseRule)Instantiates a new DispatchResponse with specified DispatchResponseRule.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit(Activity activity)The result of the activity is processed into a specific response form and then sent to the client.static voidfetchAttributes(RequestAdapter requestAdapter, ProcessResult processResult)Stores an attribute in request.ActionListgetActionList()Gets the action list.java.lang.StringgetContentType()Gets the content type.java.lang.StringgetContentType(Activity activity)Gets the content type.DispatchResponseRulegetDispatchResponseRule()Gets the dispatch response rule.ResponseTypegetResponseType()Gets the response type.Responsereplicate()Replicates and returns this response.java.lang.StringtoString()
-
-
-
Constructor Detail
-
DispatchResponse
public DispatchResponse(DispatchResponseRule dispatchResponseRule)
Instantiates a new DispatchResponse with specified DispatchResponseRule.- Parameters:
dispatchResponseRule- the dispatch response rule
-
-
Method Detail
-
commit
public void commit(Activity activity)
Description copied from interface:ResponseThe result of the activity is processed into a specific response form and then sent to the client.
-
getDispatchResponseRule
public DispatchResponseRule getDispatchResponseRule()
Gets the dispatch response rule.- Returns:
- the dispatch response rule
-
getResponseType
public ResponseType getResponseType()
Description copied from interface:ResponseGets the response type.- Specified by:
getResponseTypein interfaceResponse- Returns:
- the response type
-
getContentType
public java.lang.String getContentType()
Description copied from interface:ResponseGets the content type.- Specified by:
getContentTypein interfaceResponse- Returns:
- the content type
-
getContentType
public java.lang.String getContentType(Activity activity)
Description copied from interface:ResponseGets the content type.- Specified by:
getContentTypein interfaceResponse- Parameters:
activity- the current activity- Returns:
- the content type
-
getActionList
public ActionList getActionList()
Description copied from interface:ResponseGets the action list.- Specified by:
getActionListin interfaceResponse- Returns:
- the action list
-
replicate
public Response replicate()
Description copied from interface:ResponseReplicates and returns this response.- Specified by:
replicatein interfaceReplicable<Response>- Specified by:
replicatein interfaceResponse- Returns:
- the new response
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
fetchAttributes
public static void fetchAttributes(RequestAdapter requestAdapter, ProcessResult processResult)
Stores an attribute in request.- Parameters:
requestAdapter- the request adapterprocessResult- the process result
-
-