org.apache.myfaces.context.servlet
Class ServletFacesContextImpl

java.lang.Object
  extended by javax.faces.context.FacesContext
      extended by org.apache.myfaces.context.servlet.ServletFacesContextImpl

public class ServletFacesContextImpl
extends FacesContext

Version:
$Revision: 938286 $ $Date: 2010-04-26 20:34:00 -0500 (Mon, 26 Apr 2010) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $), Anton Koinov

Constructor Summary
ServletFacesContextImpl(javax.portlet.PortletContext portletContext, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
           
ServletFacesContextImpl(javax.servlet.ServletContext servletContext, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse)
           
 
Method Summary
 void addMessage(String clientId, FacesMessage message)
           
 Application getApplication()
           
 Iterator getClientIdsWithMessages()
           
 ExternalContext getExternalContext()
           
 FacesMessage.Severity getMaximumSeverity()
           
 Iterator getMessages()
           
 Iterator getMessages(String clientId)
           
 RenderKit getRenderKit()
           
 boolean getRenderResponse()
           
 boolean getResponseComplete()
           
 ResponseStream getResponseStream()
           
 ResponseWriter getResponseWriter()
           
 UIViewRoot getViewRoot()
           
 boolean isReleased()
           
 void release()
           
 void renderResponse()
           
 void responseComplete()
           
 void setExternalContext(ReleaseableExternalContext extContext)
           
 void setResponseStream(ResponseStream responseStream)
           
 void setResponseWriter(ResponseWriter responseWriter)
           
 void setViewRoot(UIViewRoot viewRoot)
           
 
Methods inherited from class javax.faces.context.FacesContext
getCurrentInstance, setCurrentInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletFacesContextImpl

public ServletFacesContextImpl(javax.portlet.PortletContext portletContext,
                               javax.portlet.PortletRequest portletRequest,
                               javax.portlet.PortletResponse portletResponse)

ServletFacesContextImpl

public ServletFacesContextImpl(javax.servlet.ServletContext servletContext,
                               javax.servlet.ServletRequest servletRequest,
                               javax.servlet.ServletResponse servletResponse)
Method Detail

getExternalContext

public ExternalContext getExternalContext()
Specified by:
getExternalContext in class FacesContext

getMaximumSeverity

public FacesMessage.Severity getMaximumSeverity()
Specified by:
getMaximumSeverity in class FacesContext

getMessages

public Iterator getMessages()
Specified by:
getMessages in class FacesContext

getApplication

public Application getApplication()
Specified by:
getApplication in class FacesContext

getClientIdsWithMessages

public Iterator getClientIdsWithMessages()
Specified by:
getClientIdsWithMessages in class FacesContext

getMessages

public Iterator getMessages(String clientId)
Specified by:
getMessages in class FacesContext

getRenderKit

public RenderKit getRenderKit()
Specified by:
getRenderKit in class FacesContext

getRenderResponse

public boolean getRenderResponse()
Specified by:
getRenderResponse in class FacesContext

getResponseComplete

public boolean getResponseComplete()
Specified by:
getResponseComplete in class FacesContext

setResponseStream

public void setResponseStream(ResponseStream responseStream)
Specified by:
setResponseStream in class FacesContext

getResponseStream

public ResponseStream getResponseStream()
Specified by:
getResponseStream in class FacesContext

setResponseWriter

public void setResponseWriter(ResponseWriter responseWriter)
Specified by:
setResponseWriter in class FacesContext

getResponseWriter

public ResponseWriter getResponseWriter()
Specified by:
getResponseWriter in class FacesContext

setViewRoot

public void setViewRoot(UIViewRoot viewRoot)
Specified by:
setViewRoot in class FacesContext

getViewRoot

public UIViewRoot getViewRoot()
Specified by:
getViewRoot in class FacesContext

addMessage

public void addMessage(String clientId,
                       FacesMessage message)
Specified by:
addMessage in class FacesContext

isReleased

public boolean isReleased()

release

public void release()
Specified by:
release in class FacesContext

renderResponse

public void renderResponse()
Specified by:
renderResponse in class FacesContext

responseComplete

public void responseComplete()
Specified by:
responseComplete in class FacesContext

setExternalContext

public void setExternalContext(ReleaseableExternalContext extContext)


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