@ProviderType public abstract class BrowserSnifferFactory extends Object implements javax.faces.FacesWrapper<BrowserSnifferFactory>
| Constructor and Description |
|---|
BrowserSnifferFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract BrowserSniffer |
getBrowserSniffer(javax.faces.context.ExternalContext externalContext)
Returns a new instance of
BrowserSniffer. |
static BrowserSniffer |
getBrowserSnifferInstance()
Deprecated.
Call
getBrowserSnifferInstance(ExternalContext) instead.
Returns a new instance of |
static BrowserSniffer |
getBrowserSnifferInstance(javax.faces.context.ExternalContext externalContext)
Returns a new instance of
BrowserSniffer from the BrowserSnifferFactory found by the FactoryExtensionFinder. |
abstract BrowserSnifferFactory |
getWrapped()
Returns the wrapped factory instance if this factory decorates another.
|
@Deprecated public static BrowserSniffer getBrowserSnifferInstance()
getBrowserSnifferInstance(ExternalContext) instead.
Returns a new instance of BrowserSniffer from the BrowserSnifferFactory found by
the FactoryExtensionFinder. The returned instance is designed to be used during execution of
a request thread, so it is not guaranteed to be Serializable.
public static BrowserSniffer getBrowserSnifferInstance(javax.faces.context.ExternalContext externalContext)
BrowserSniffer from the BrowserSnifferFactory found by the FactoryExtensionFinder. The returned instance is designed to be used during execution of a request thread, so it
is not guaranteed to be Serializable.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 BrowserSniffer getBrowserSniffer(javax.faces.context.ExternalContext externalContext)
BrowserSniffer. The returned instance is designed to be used during execution
of a request thread, so it is not guaranteed to be Serializable.public abstract BrowserSnifferFactory getWrapped()
getWrapped in interface javax.faces.FacesWrapper<BrowserSnifferFactory>Copyright © 2020 Liferay, Inc.. All rights reserved.