Interface Response
-
- All Superinterfaces:
Replicable<Response>
- All Known Implementing Classes:
AponTransformResponse,CustomTransformResponse,DispatchResponse,ForwardResponse,JsonTransformResponse,NoneTransformResponse,RedirectResponse,TextTransformResponse,TransformResponse,XmlTransformResponse,XslTransformResponse
public interface Response extends Replicable<Response>
The Interface Response.Created: 2008. 03. 23 PM 12:52:04
-
-
Method Summary
All Methods Instance Methods Abstract 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.ResponseTypegetResponseType()Gets the response type.Responsereplicate()Replicates and returns this response.
-
-
-
Method Detail
-
commit
void commit(Activity activity) throws ResponseException
The result of the activity is processed into a specific response form and then sent to the client.- Parameters:
activity- the current Activity- Throws:
ResponseException- the response exception
-
getResponseType
ResponseType getResponseType()
Gets the response type.- Returns:
- the response type
-
getContentType
java.lang.String getContentType()
Gets the content type.- Returns:
- the content type
-
replicate
Response replicate()
Replicates and returns this response.- Specified by:
replicatein interfaceReplicable<Response>- Returns:
- the new response
-
-