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 void
commit(Activity activity)
The result of the activity is processed into a specific response form and then sent to the client.java.lang.String
getContentType()
Gets the content type.java.lang.String
getContentType(Activity activity)
Gets the content type.ResponseType
getResponseType()
Gets the response type.Response
replicate()
Replicates and returns this response.
-
-
-
Method Detail
-
commit
void commit(Activity activity)
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
-
getContentType
java.lang.String getContentType(Activity activity)
Gets the content type.- Parameters:
activity
- the current activity- Returns:
- the content type
-
replicate
Response replicate()
Replicates and returns this response.- Specified by:
replicate
in interfaceReplicable<Response>
- Returns:
- the new response
-
-