Class 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 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: 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
      • getContentType

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

        public java.lang.String getContentType​(Activity activity)
        Description copied from interface: Response
        Gets the content type.
        Specified by:
        getContentType in interface Response
        Parameters:
        activity - the current activity
        Returns:
        the content type
      • getForwardRule

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object