Class ForwardResponse

java.lang.Object
com.aspectran.core.activity.response.ForwardResponse
All Implemented Interfaces:
Response, Replicable<Response>

public class ForwardResponse extends Object implements Response
The Class ForwardResponse.

Created: 2008. 03. 22 PM 5:51:58

  • Constructor Details

    • ForwardResponse

      public ForwardResponse(ForwardRule forwardRule)
      Instantiates a new ForwardResponse.
      Parameters:
      forwardRule - the forward rule
  • Method Details

    • commit

      public void commit(Activity activity)
      Description copied from interface: Response
      The result of the activity is processed into a specific response form and then sent to the client.
      Specified by:
      commit in interface Response
      Parameters:
      activity - the current Activity
    • getResponseType

      public ResponseType getResponseType()
      Description copied from interface: Response
      Gets the response type.
      Specified by:
      getResponseType in interface Response
      Returns:
      the response type
    • getContentType

      public String getContentType()
      Description copied from interface: Response
      Gets the content type.
      Specified by:
      getContentType in interface Response
      Returns:
      the content type
    • replicate

      public Response replicate()
      Description copied from interface: Response
      Replicates and returns this response.
      Specified by:
      replicate in interface Replicable<Response>
      Specified by:
      replicate in interface Response
      Returns:
      the new response
    • getForwardRule

      public ForwardRule getForwardRule()
      Returns the forward rule.
      Returns:
      the forward rule
    • toString

      public String toString()
      Overrides:
      toString in class Object