com.ibm.xsp.webapp
Class FacesServletEx

java.lang.Object
  extended by com.ibm.xsp.webapp.FacesServlet
      extended by com.ibm.xsp.webapp.FacesServletEx
All Implemented Interfaces:
javax.servlet.Servlet

public class FacesServletEx
extends com.ibm.xsp.webapp.FacesServlet


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.xsp.webapp.FacesServlet
com.ibm.xsp.webapp.FacesServlet.ExtendedServletException, com.ibm.xsp.webapp.FacesServlet.SyncToken
 
Field Summary
protected  long _maxUpload
          Deprecated. should be private rather than public
protected  java.io.File _uploadDir
          Deprecated. should be private rather than public
 
Fields inherited from class com.ibm.xsp.webapp.FacesServlet
XSP_SESSION_SYNC
 
Constructor Summary
FacesServletEx()
           
 
Method Summary
protected  com.ibm.xsp.http.fileupload.FileItemFactory getFileItemFactory()
          Deprecated. should be private rather than protected
protected  java.io.File getUploadDirectory()
          Return the directory for cacahing file uploads.
 void init(javax.servlet.ServletConfig config)
           
protected  boolean isAjaxPartialMode(javax.faces.context.FacesContext context)
          If true this will prevent the lifecyle being executed after the view is restored, and the method renderAjaxPartial(FacesContext) will be invoked instead.
protected  boolean printThrowableExpression(java.io.PrintWriter writer, java.lang.Throwable t)
           
protected  boolean renderAjaxPartial(javax.faces.context.FacesContext context)
          Called if isAjaxPartialMode(FacesContext) returns true, immediately after the viewRoot is restored.
 void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
protected  void serviceView(javax.faces.context.FacesContext context, com.ibm.xsp.controller.FacesController controller)
           
 
Methods inherited from class com.ibm.xsp.webapp.FacesServlet
acquireSyncToken, createFacesController, destroy, destroyFacesController, getContextFacesController, getErrorViewId, getFacesContext, getFacesController, getFacesControllerFactory, getFacesControllerFactoryClass, getServletConfig, getServletInfo, handleError, handleException, handleFileDownload, initializeFacesController, registerExtensionFactories, releaseSyncToken, renderErrorPage, renderFacesPage, rethrowEncounteredProblem, writeError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_maxUpload

protected long _maxUpload
Deprecated. should be private rather than public

_uploadDir

protected java.io.File _uploadDir
Deprecated. should be private rather than public
Constructor Detail

FacesServletEx

public FacesServletEx()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class com.ibm.xsp.webapp.FacesServlet
Throws:
javax.servlet.ServletException

service

public void service(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
Specified by:
service in interface javax.servlet.Servlet
Overrides:
service in class com.ibm.xsp.webapp.FacesServlet
Throws:
javax.servlet.ServletException
java.io.IOException

serviceView

protected void serviceView(javax.faces.context.FacesContext context,
                           com.ibm.xsp.controller.FacesController controller)
Overrides:
serviceView in class com.ibm.xsp.webapp.FacesServlet

isAjaxPartialMode

protected boolean isAjaxPartialMode(javax.faces.context.FacesContext context)
If true this will prevent the lifecyle being executed after the view is restored, and the method renderAjaxPartial(FacesContext) will be invoked instead.


renderAjaxPartial

protected boolean renderAjaxPartial(javax.faces.context.FacesContext context)
Called if isAjaxPartialMode(FacesContext) returns true, immediately after the viewRoot is restored. Note that this rendering is not part of the jsf render phase.

Parameters:
context -

printThrowableExpression

protected boolean printThrowableExpression(java.io.PrintWriter writer,
                                           java.lang.Throwable t)
Overrides:
printThrowableExpression in class com.ibm.xsp.webapp.FacesServlet

getFileItemFactory

protected com.ibm.xsp.http.fileupload.FileItemFactory getFileItemFactory()
Deprecated. should be private rather than protected

Returns:

getUploadDirectory

protected java.io.File getUploadDirectory()
Return the directory for cacahing file uploads.

Returns: