public abstract class FacesURLEncoderFactory extends Object implements javax.faces.FacesWrapper<FacesURLEncoderFactory>
Constructor and Description |
---|
FacesURLEncoderFactory() |
Modifier and Type | Method and Description |
---|---|
abstract FacesURLEncoder |
getFacesURLEncoder()
Returns a stateless, thread-safe singleton instance of
FacesURLEncoder . |
static FacesURLEncoder |
getFacesURLEncoderInstance()
Deprecated.
Call
getFacesURLEncoderInstance(ExternalContext) instead.
Returns a stateless, thread-safe singleton instance of |
static FacesURLEncoder |
getFacesURLEncoderInstance(javax.faces.context.ExternalContext externalContext)
Returns a stateless, thread-safe singleton instance of
FacesURLEncoder from the FacesURLEncoderFactory found by the FactoryExtensionFinder . |
abstract FacesURLEncoderFactory |
getWrapped()
Returns the wrapped factory instance if this factory decorates another.
|
@Deprecated public static FacesURLEncoder getFacesURLEncoderInstance()
getFacesURLEncoderInstance(ExternalContext)
instead.
Returns a stateless, thread-safe singleton instance of FacesURLEncoder
from the FacesURLEncoderFactory
found by the FactoryExtensionFinder
. FacesURLEncoder is a stateless,
thread-safe singleton because it is designed to be used by a Renderer
,
which is a stateless, thread-safe singleton.
public static FacesURLEncoder getFacesURLEncoderInstance(javax.faces.context.ExternalContext externalContext)
FacesURLEncoder
from the FacesURLEncoderFactory
found by the FactoryExtensionFinder
. FacesURLEncoder is a stateless, thread-safe
singleton because it is designed to be used by a Renderer
, which is a stateless,
thread-safe singleton.externalContext
- The external context associated with the current faces context. It is needed in order
for the FactoryExtensionFinder
to be able to find the factory.public abstract FacesURLEncoder getFacesURLEncoder()
FacesURLEncoder
. FacesURLEncoder is a stateless,
thread-safe singleton because it is designed to be used by a Renderer
, which is
stateless and thread-safe singleton.public abstract FacesURLEncoderFactory getWrapped()
getWrapped
in interface javax.faces.FacesWrapper<FacesURLEncoderFactory>
Copyright © 2018 Liferay, Inc.. All rights reserved.