com.bankframe.fe.statemachine.ext.connectors.servlet
Class Response

java.lang.Object
  extended bycom.bankframe.fe.statemachine.ext.connectors.servlet.Response
All Implemented Interfaces:
IResponse, IResponse

public class Response
extends java.lang.Object
implements IResponse


Constructor Summary
Response(javax.servlet.http.HttpServletResponse response)
          Creates a new Response.
 
Method Summary
 javax.servlet.http.HttpServletResponse getResponse()
          Returns the response.
 IResponseData getResponseData()
          Returns the response data required by the view to build the response.
 void setResponseData(IResponseData responseData)
          Sets the response data for this response.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Response

public Response(javax.servlet.http.HttpServletResponse response)
Creates a new Response.

Parameters:
response - the HttpServletResponse to wrap.
Method Detail

getResponseData

public IResponseData getResponseData()
Description copied from interface: IResponse
Returns the response data required by the view to build the response.

Note that the response data should contain only information which is not available from the model.

Specified by:
getResponseData in interface IResponse
Returns:
the response data required by the view.

setResponseData

public void setResponseData(IResponseData responseData)
Description copied from interface: IResponse
Sets the response data for this response.

Specified by:
setResponseData in interface IResponse

getResponse

public javax.servlet.http.HttpServletResponse getResponse()
Returns the response.

Returns:
HttpServletResponse


Copyright © 2005, 2007, Oracle. All rights reserved.