org.apache.myfaces.shared.view
Interface ResponseSwitch

All Known Implementing Classes:
HttpServletResponseSwitch, ServletResponseSwitch

public interface ResponseSwitch

Responses which can be enabled or disabled implement this interface.

Version:
$Revision: 939021 $ $Date: 2010-04-28 12:38:25 -0500 (Wed, 28 Apr 2010) $
Author:
Jakob Korherr (latest modification by $Author: jakobk $)

Method Summary
 boolean isEnabled()
          Are the Response's Writer and OutputStream currently enabled?
 void setEnabled(boolean enabled)
          Enables or disables the Response's Writer and OutputStream.
 

Method Detail

setEnabled

void setEnabled(boolean enabled)
Enables or disables the Response's Writer and OutputStream.

Parameters:
enabled -

isEnabled

boolean isEnabled()
Are the Response's Writer and OutputStream currently enabled?

Returns:


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.