Skip navigation links
org.apache.myfaces.trinidad.context
Class RequestContextFactory
java.lang.Object
org.apache.myfaces.trinidad.context.RequestContextFactory
-
public abstract class RequestContextFactory
- extends java.lang.Object
Factory for creating RequestContext objects.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestContextFactory
public RequestContextFactory()
getFactory
public static RequestContextFactory getFactory()
- Retrieve the current RequestContextFactory.
setFactory
public static void setFactory(RequestContextFactory factory)
- Store the current RequestContextFactory.
createContext
@Deprecated
public abstract RequestContext createContext(java.lang.Object context,
java.lang.Object request)
- Deprecated. This method does not work in a Portal environment. It will only work with a ServletRequest. Please use
createContext(ExternalContext) which is container agnostic.
- Create a RequestContext from a ServletContext and ServletRequest.
-
- Parameters:
context - an object which must be a ServletContext
request - an object which must be a ServletRequest
createContext
public abstract RequestContext createContext(javax.faces.context.ExternalContext ec)
- Creates a RequestContext.
-
- Parameters:
ec - The current ExternalContext.
Skip navigation links
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.