org.apache.myfaces.trinidadinternal.config.xmlHttp
Class XmlHttpConfigurator
java.lang.Object
org.apache.myfaces.trinidad.config.Configurator
org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpConfigurator
public class XmlHttpConfigurator
- extends org.apache.myfaces.trinidad.config.Configurator
|
Method Summary |
static javax.servlet.ServletRequest |
getAjaxServletRequest(javax.servlet.ServletRequest request)
|
javax.faces.context.ExternalContext |
getExternalContext(javax.faces.context.ExternalContext externalContext)
|
static void |
handleError(javax.faces.context.ExternalContext ec,
java.lang.Throwable t)
Handle a server-side error by reporting it back to the client. |
static void |
sendXmlRedirect(java.io.PrintWriter writer,
java.lang.String url)
Sends a element to the server |
| Methods inherited from class org.apache.myfaces.trinidad.config.Configurator |
beginRequest, destroy, disableConfiguratorServices, endRequest, init, isConfiguratorServiceDisabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlHttpConfigurator
public XmlHttpConfigurator()
getAjaxServletRequest
public static javax.servlet.ServletRequest getAjaxServletRequest(javax.servlet.ServletRequest request)
getExternalContext
public javax.faces.context.ExternalContext getExternalContext(javax.faces.context.ExternalContext externalContext)
- Overrides:
getExternalContext in class org.apache.myfaces.trinidad.config.Configurator
sendXmlRedirect
public static void sendXmlRedirect(java.io.PrintWriter writer,
java.lang.String url)
throws java.io.IOException
- Sends a element to the server
- Throws:
java.io.IOException
handleError
public static void handleError(javax.faces.context.ExternalContext ec,
java.lang.Throwable t)
throws java.io.IOException
- Handle a server-side error by reporting it back to the client.
TODO: add configuration to hide this in a production
environment.
- Throws:
java.io.IOException
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.