Class ForwardResponse
- java.lang.Object
-
- com.aspectran.core.activity.response.ForwardResponse
-
- All Implemented Interfaces:
Response,Replicable<Response>
public class ForwardResponse extends java.lang.Object implements Response
The Class ForwardResponse.Created: 2008. 03. 22 PM 5:51:58
-
-
Constructor Summary
Constructors Constructor Description ForwardResponse(ForwardRule forwardRule)Instantiates a new ForwardResponse.
-
Method Summary
All 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.java.lang.StringgetContentType()Gets the content type.ForwardRulegetForwardRule()Returns the forward rule.ResponseTypegetResponseType()Gets the response type.Responsereplicate()Replicates and returns this response.java.lang.StringtoString()
-
-
-
Constructor Detail
-
ForwardResponse
public ForwardResponse(ForwardRule forwardRule)
Instantiates a new ForwardResponse.- Parameters:
forwardRule- the forward 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.
-
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
-
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
-
getForwardRule
public ForwardRule getForwardRule()
Returns the forward rule.- Returns:
- the forward rule
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-