com.caucho.jsf.context
Class ServletFacesContextImpl

java.lang.Object
  extended by FacesContext
      extended by com.caucho.jsf.context.ServletFacesContextImpl

public class ServletFacesContextImpl
extends FacesContext


Constructor Summary
protected ServletFacesContextImpl(FacesContextFactoryImpl factory, ServletContext webApp, HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
 void addMessage(java.lang.String clientId, FacesMessage message)
           
 Application getApplication()
           
 java.util.Map<java.lang.Object,java.lang.Object> getAttributes()
           
 java.util.Iterator<java.lang.String> getClientIdsWithMessages()
           
 ELContext getELContext()
           
 ExternalContext getExternalContext()
           
 FacesMessage.Severity getMaximumSeverity()
           
 java.util.Iterator<FacesMessage> getMessages()
           
 java.util.Iterator<FacesMessage> getMessages(java.lang.String clientId)
           
 RenderKit getRenderKit()
           
 boolean getRenderResponse()
          If true the facelet will skip to the render phase.
 boolean getResponseComplete()
          Return true if the lifecycle should skip the response phase.
 ResponseStream getResponseStream()
           
 ResponseWriter getResponseWriter()
           
 UIViewRoot getViewRoot()
          Returns the root of the UI component tree.
 void release()
           
 void renderResponse()
          Ask the lifecycle to skip to the render phase.
 void responseComplete()
          Ask the lifecycle to skip the response phase.
 void setResponseStream(ResponseStream responseStream)
           
 void setResponseWriter(ResponseWriter writer)
           
 void setViewRoot(UIViewRoot root)
          Sets the root of the UI component tree.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletFacesContextImpl

protected ServletFacesContextImpl(FacesContextFactoryImpl factory,
                                  ServletContext webApp,
                                  HttpServletRequest request,
                                  HttpServletResponse response)
Method Detail

getApplication

public Application getApplication()

getExternalContext

public ExternalContext getExternalContext()

getRenderKit

public RenderKit getRenderKit()

getResponseStream

public ResponseStream getResponseStream()

setResponseStream

public void setResponseStream(ResponseStream responseStream)

getResponseWriter

public ResponseWriter getResponseWriter()

setResponseWriter

public void setResponseWriter(ResponseWriter writer)

getViewRoot

public UIViewRoot getViewRoot()
Returns the root of the UI component tree.


setViewRoot

public void setViewRoot(UIViewRoot root)
Sets the root of the UI component tree.


getRenderResponse

public boolean getRenderResponse()
If true the facelet will skip to the render phase.


renderResponse

public void renderResponse()
Ask the lifecycle to skip to the render phase.


getResponseComplete

public boolean getResponseComplete()
Return true if the lifecycle should skip the response phase.


responseComplete

public void responseComplete()
Ask the lifecycle to skip the response phase.


addMessage

public void addMessage(java.lang.String clientId,
                       FacesMessage message)

getClientIdsWithMessages

public java.util.Iterator<java.lang.String> getClientIdsWithMessages()

getMaximumSeverity

public FacesMessage.Severity getMaximumSeverity()

getMessages

public java.util.Iterator<FacesMessage> getMessages()

getMessages

public java.util.Iterator<FacesMessage> getMessages(java.lang.String clientId)

getELContext

public ELContext getELContext()

release

public void release()

getAttributes

public java.util.Map<java.lang.Object,java.lang.Object> getAttributes()

toString

public java.lang.String toString()