|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseSwitch
Responses which can be enabled or disabled implement this interface.
Field Summary | |
---|---|
static java.lang.String |
RESPONSE_SWITCH_ENABLED
If the current ResponseSwitch is disabled, Boolean.FALSE will be stored in the FacesContext under this key, otherwise Boolean.TRUE will be stored ATTENTION: this constant is duplicate in UIViewRoot. |
Method Summary | |
---|---|
boolean |
isEnabled()
Are the Response's Writer and OutputStream currently enabled? |
boolean |
isEnabled(FacesContext facesContext)
|
void |
setEnabled(boolean enabled)
|
void |
setEnabled(FacesContext facesContext,
boolean enabled)
Enables or disables the Response's Writer and OutputStream. |
Field Detail |
---|
static final java.lang.String RESPONSE_SWITCH_ENABLED
Method Detail |
---|
void setEnabled(FacesContext facesContext, boolean enabled)
enabled
- void setEnabled(boolean enabled)
boolean isEnabled()
boolean isEnabled(FacesContext facesContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |